Items tagged with explore


With the Explore function, the use of sliders is very convenient to test the sensibility of a result with regard to a parameter.

However, It is also very convenient to specify a accurate value to a parameter.

Consequently, i would like to combine the use of slider (usually defined in the default mode) with the use of the option "controller=textarea".

Do you have ideas to combine the use of slider and the use of textarea for the definition of the parameters in the Explore function ?

Here you can find a example of the theta4 function depending of 8 parameters (xp3,xp4,zp3,zp4,phi3,phi4, gamma3, gamma4).

I manage to use either the sliders or the textarea option but not both.

Thank you in advance for your help and ideas.


I try to use the Explore function on a trigonometric expressions depending of 8 parameters. My aim is to study the influence of these parameters on the results.

However, i receive an error message and I didn't manage to troubleshoot it.

May you have a look of an extract of my code and see if you see the mistake ?

Thanks a lot for your help.

Dear Community,

I have a complicated function with two independent variables, namely QD( tD,  rD ). I would like to explore its behavior in a semilog plot in the range of tD = 1.0 .. 1000.0 with changing rDs, where I would like to change the values of rD with a slider of the Explore command. I've developed the attached code, yet it gives me an error message, "unexpected option... " Could you pls. have a look at it what do I do wrong?

Tx for the kind help in advance

best regards


1.I want to plot (x-x0)^2 from x=0..10 with a value for x0 in the plot function not in the procedure. The procedure should 

test x against x0 and if x<x0 then y=0 else y=(x-x0)^2

2.Is it possible to use explore and use x0 as a slider?





I wote a command that creates a plot with a single point:

plots[pointplot](a*[1, 1])

Before hitting Enter I called the context menu and chose Explore. As I change the parameter a the point remains fixed in the picture but the scales change. I wanted the opposite: the scales should stay fixed and the point should move. How can I do this using Explore or in some other way? I would like to see the point move as I drag a slider control.

Thanks for the help.


I created a new Document with a single command:


Then I right-clicked on the command and chose Explore from the context menu and then clicked on the Explore button in the dialog box. A rectangle with a slider appeared. So far so good.  However, I cannot delete the rectangle from my Document. I tried to select the rectangle and press Delete, Ctrl+Delete, and to right-click on it and choose Cut from the menu. Nothing works.

If I select both the rectangle and the command A=1 all the three actions described above also fail to delete anything.

Help will be appreciated.

Below I want to explore a function behaviour using a slider to determine the value of 'a' so the function is shown in a plot, but I can't figure out how to use Explore to bind the value of 'a'.

If I bind bind the value using "a := 5", then plot works, but when binding through Explore it does not work.  I can also write the function in the plot like "a * x", but that is not as general as using a function.

How to explore function like that.

Good morning everybody.

I have tried Explore to draw plots in an interactive way.

The function I want to draw (plot3d) is automatically constructed by a specific code, as well as the names of the parameters it depends on. These are of the form P||1, P||2, ...P||N (N is an integer determined during the construction)

... but I did not succeed !

After some investigations I was able to reduced the problem to the following one

N  := 2:
F  := add(P||k * x^k, k=0..N):
G := [seq(P||k=-1.0 .. 1.0, k=0..N)]:
Explore(plot(F, x=0..1), parameters=G)

The result is the classical imbedded window with a plot of -1-x_x^2 and three sliders below.
But as soon as I push anu of them the plot disappears and connot be recoverd.

But the following sequence seems to work as expected

N  := 2:
F  := add(P__k * x^k, k=0..N):
G := [seq(P__k=-1.0 .. 1.0, k=0..N)]:
Explore(plot(F, x=0..1), parameters=G)

Before changing my code, could you please confirm me that parameter names such that P||k are not correctly accounted for by Explore ?

Auxiliary question : more generally, are there points which I have to count carefully when I use the P||k construction ?

Thanks in advance

Hello everyone!

I am wondering why the Tabulate command does not work with Explore. E.g.:

Explore(`DocumentTools:-Tabulate`([plot(sin(a*x)), plot(cos(x-a))]), parameters = [[a = 0 .. 10, controller = slider]])

I know that I can display an array of plots with the display(Array([....])) which works fine with explore but Tabulate is another good way to display multiple plots and it gives better control over individual plots properties (e.g. setting different size to different plots). Is this a bug or Tabulate is just not meant to work in that context?  

I would like to generate a table with expansions of the formula p[t]=1/(1-psi*(beta-1))*m[t]-psi*(beta-1)/(1-psi*(beta-1))*p[t-1] for different values of t, perhaps with an Explore function over t. How could I achieve this?

My code works in Maple (18.02), not Maple Player (2015.1). Much headache ensued.

I've isolated the problem in a toy form:

Defn := proc (scaleby)

Explore(Defn(p), parameters = [p = [1, 10, 100]]);

In Maple will return "integer" for any value of p selected in the combobox.

In Maple Player returns "string" for any value of p selected in the combobox

Is there something I'm missing here? Is Maple Player not backwards compatible to versions of Maple prior to 2015?

My understanding is that Maple Code should export without headache to Maple Player. Is this a solid understanding?

Thanks for helping out a newbie!




I would like to slightly modify the "Explore" command -- I find it extremely useful, but the layout often doesn't work well for me (my typical use case is say 12 plots with ~10 parameters that vary). The problem is that the default alignment the columns of the table that contains a matrix of plots is "Center" and my plots don't fit on the screen properly (no matter how I play with sizes, placement, etc) and I would like it to be "Left" aligned --- aligning things manually (via right click) after the explore command is executed is possible, but painful, given that I often change my code.

... bottom line is that I would like to be able to re-define the "Explore" command.

I tried doing so by first calling:

... then removing all the numbers, renaming the proc to sat MyExplore, declaring it (i.e. so maple understands it) and for now using that instead of the old Explore in my program (with no actual code changes for now). The problem is that I get the following error:

Error, (in DocumentTools:-Layout:-Table) number of Column arguments, 3, exceeds total column span, 1, computed from Rows' Cells

I think, somehow maybe showstat is not showing the full thing? or maybe it is part of a more complicated module? or maybe by removing the numbers the formatting got screwed up (i was careful here)?

So my question:

How would I define my own function "MyExplore" that (for now) contains exactly the same code and functionality as the built-in "Explore"?




I'm trying to create interactive plots by using Explore to help demonstrate the effects parameters have on functions. I created one successfully to illustrate shifts and stretches of a polynomial:


transform(A,B,X,H,P,K):=Explore(plot(a*(b*x+h)^(p)+k,x=X),parameters=[a=A, b= B,h=H,p=P,k=K],placement=right)


However when I try to do the same with a solved ODE it returns an error message:


Explore(plot(1/(-p*x+x+1)^(1/(p-1)), x = -5 .. 5), parameters = [p = -20 .. 20], placement = right);


Executing this gives the error message: 

Warning, expecting only range variable x in expression 1/((-p*x+x+1)^(1/(p-1))) to be plotted but found name p

VIEW(-5. .. 5., DEFAULT, _ATTRIBUTE("source" = "mathdefault"))),

parameters = [p = -20 .. 20], placement = right


I'm not sure why it is having difficulty dealing with "p" when it had no difficulty with the first. Any help would be appreciated!

Here in this work and used as the main topic a short description of electrostatics and electrodynamics using the Explore to model the fundamental laws command.

 Corriente_Elé   (in spanish)



L. Araujo C.


I have a question regarding maple reader.


It seems like in maple reader, one cannot interact with the output of the Explore function.... which mean I am forced to make my own component if I want to creat application for my co-worker to use..this is some what annoying.  Is there another way around?


please open the attached file in maple player and you will see the output created by Explore gives error message.




1 2 3 Page 1 of 3