Items tagged with maplet


I followed the steps given in the example of Maple help "Example 5: Adding a MathMLViewer Region" but I get the next error window.

Do you know what is my mistake?

thank you.

If you have a list that is too large the list will go off the screen without a way of scrolling.

Is there a way around that?

Here's some test code

maplet := Maplet([["Pick a color:  ", ListBox['LB1'](sort(["blue", "red", "wheat", "yellow", "brown", "gold", "plum", "orange", "pink", "khaki", "magenta", "maroon", "white", "green", "aquamarine", "black", "gray", "navy", "coral", "cyan", "sienna", "tan", "turquoise", "violet", seq(i, i = "a" .. "z")], lexorder))], [Button("OK", Shutdown(['LB1'])), Button("Cancel", Shutdown())]]):
result := Maplets[Display](maplet);


The Maplets, Elements, ListBox (ListBox) example given on the help page doesn't work.  I use the button to transfer the page to a worksheet window but then when I execute them I get an error.  Below is the example given on the help page.  And following that is the errors given after execution.

Hi everybody,

I write a worksheet which contains thesimple code provided in ?Maplets[Button] :

maplet := Maplet(["Select one:", ......]) 

As mentioned in ?MapleViewer it is possible to export a worksheet in a .maplet file (I use Windows 7) and to execute it by double clicking on the corresponding icon.
I proceeded as explained in the help page
But double clicking does not work with me : a "User Interface Customization System" window opens and shuts after a few seconds without displaying the expected maplet 

(right click + open with and select mapleviewer.exe shows that mapleviewer.exe does exist, so the issue does not likely come from an incomplete Maple installation).

I tried a few variants of the worksheet, such that
Maplets[Display](Maplet(["Select one:", ......])  ):

or even
Maplets[Display](Maplet(["Select one:", ......])  ):

But it keeps getting bad
Could you please help me to fix this ?


Hello everybody,

I develop a simulator of dynamical systems governed by ODE systems.
Thanks to intensive upstream testing I have already identified some "methods" that work well on some classes of systems and poorly for some others (here "method" is intented in the sense of dsolve(..., numeric, method=...)), but it is rather difficult to know in advance if method A will perform well or not, or if method B could be better ...
This is very classical.

On the other side, people this simulator is designed for, do not want to use directly MAPLE to  choose a method among all those it proposes,nor to adjust the many parameters some methods can have

The idea I have in mind is to facilitate their choice by developing a specific Maplet. This Maplet could take as a model the pane dsolve[interactive]() opens when you select the numerical solving strategy.
As far as possible I would like to customize this pane for it be closer to our own needs (specific options sholud be proposed as well as personal help pages)

So my questions:

1/  Is the corresponding code avaliable (I failed to find it while using showstat) ?
1'/ Incidentally, even if this simulator is designed for internal purposes alone, is there some kind of copyright or usage limitations of the code above ?
2/ Is it possible to obtain the list of all the avaliable methods (euler, rk4, gear, ...) without without constructing it manually ?
3/ Once a method is choosen, is it possible to obtain the list of all its options (here again without without constructing it manually) ?

Maybe a quite unusual request on this site but I would greatly appreciate any answer

Thanks in advance

Hello! I have some problem this maplet in Maple. I need, that one maplet call othr maplet and then in second maplet draw my graph and change color of some edges in this graph, when user ckick button

Hello everybody,

* The following set of instructions returns me an error

A := Matrix(2,2,[1,2,3,4]):

Error, Transpose is not a command in the Maplets:-Examples:-LinearAlgebra package

(it would be the same for any other command from the LinearAlgebra package)

* If I try 

A := Matrix(2,2,[1,2,3,4]):

the answer is Transpose(...),  as if Transpose was an undefined function (no matter the order of the loading of the two packages)

* In Maplets[Examples] there is a subpackage named LinearAlgebra : could it be the reason of these observed behaviour ?
* Is there any way to fix that other than copying from Maplets[Examples] the only pieces of code I need avoiding thus its complete loading ?
* More generally : is it possible to load a package "partly" by discarding some of its subpackages ?

Thank you for your answers

Maplet file failed to open by double click in windows 7 x64 file browser

There is no response when double click a Maple file

But it runs correctly by using command line

Anyone knows why?

Hi everyone,


I am creating a Maplet containing an area to plot some math function using Plotter command. The point is that I want to put the toolbar native from Maple in order to avoid to add extra buttons for zooming, moving, 1:1 or etcetera the graph, but I have not been successful.

Some suggestions?

Thank you, Friends!

i posted these ealier without any responds,pls i need some assistance my project supervisor has made it mandatory that i build a maple maplet of the bessel equation:

  i would have loved my maplet to have four knobs/sliders to vary the value of the parameters(T[g],T[0],k,p)  and also a play puase and stop bottons while texts boxes to type in the value of the unvaried parameters(gamma,G,alpha,delta,C[1],C[2]) and this maplet should show a 3d and 2d plot of the equation of which the various varying parameters can be varied to see effect on the plots.1.e 3d plots of (F against p and T[o]),(F against k and T[o]),(F against tortuosity and T[o]) which can be assigned to three different plot bottons but to be ploted on the same plotter and 2d plots of (F against p) and (F against k), (F against tortuosity) which can also be assigned to three different plot bottons but to be plotted on a second plotter aside that of the 3d plots.
i will really gratefull if anyone can help me out,thanks in advance<

my project supervisor has made it mandatory that i build a maple maplet of the bessel equation:

Hi, I am new to Maple. I want to plot a graph in a separate window from command-line maple. I tried the following code and getting this error

> plotsetup(window);
> plot(x,x=-10..10);
Plotting error, no plot device driver for plotdevice=window


I tried maplet but I am not getting the plot

> plotsetup(maplet);
> plot(x,x=-10..10);
Initializing Java runtime environment.


What should I do to get the plot??


I need a command for adding screentip to maple textbox.When user select textbox field, a comment appear and guide him to write correct format of algebric expression, e.g. when user writes 2sin(x) the format scanner can't specify 2 from 2sin, and user must write 2*sin(x) instead of 2sin(x).

I want explain these hints with screentip.



I am programing the RSA-Algorithm. Somewhere in the program the user gets the choice to get a rough summary of the algorithm and the various steps used.

To do that I wrote a 1 1/2 page summary in Word. To see how the text is displayed withing the Window I took the first paragraph of my summary and put it in the following code:


mapletExplainRSA := Maplet(Window('title' = "Erfahre mehr über RSA",

["Das verschlüsseln und entschlüsseln einer Nachricht dient der sicheren Kommunikation. Es existieren bereits Methoden der sicheren Kommunikation. Eine davon nennt man &ldquor;one way ciphers&ldquo; oder &ldquor;trap door ciphers&ldquo;.  &ldquor;One way&ldquo; da obwohl alle eine Nachricht verschlüsseln können, nur einer sie entschlüsseln kann. Für jedes Verschlüsselungsverfahren gibt es einen Schlüssel für das verschlüsseln und einen anderen Schlüsseln für das entschlüsseln.",

[Button("Nachricht verschlüsseln", Shutdown("True")), Button("Abbrechen", Shutdown())]]));



The problem is that when I run this code the whole paragraph is written on the same line and hence does not even fit in the Maplet Window. Is there a way so that my rather long text will be formatet nicely within the Maplet window. Just like it would be displayed using Word. That is a text in paragraph style where sentences are wrapped automatically.



I have made a maplet. The aim is to take two numbers in textboxes and find their Jacobi symbol. The result should appear in a third textbox. Now I have done all the steps and called a procedure on buttonclick. Following is the procedure I have made

jacob := proc (x, y)

local A, B;

A := x;

B := y;


jacobi(A, B)

end proc:


Problem: The problem is that when I make any small modification to the code it runs and shows the result in the 3rd textbox but as soon as I save it, restart maple and recompile the program, the textbox 3 will show jacobi(value of textbox1, value of textbox2) instead of the result. What should I do, actually I am new to maple. Please guide me.

1 2 3 4 Page 1 of 4