How can i use previous inputs in new maplet window.For example i have two maplet windows; maplet1 and maplet2 I use some inputs as a functions in maplet1 and i open new window by using botton from maple1.I also want to use same inputs for calculating function in maplet2
April 30 2013
my goal: i wanna create some buttons and scale and position them individualy. like i can do in any visual IDE.
Could some one help me with some example code, showing how to create a button on a specific position, maybe load a picture on the button if it gets pressed?
thx in advance
I created a maplet in maple using the following codes:
> ["Turev Degiskeni:",TextField['Y2'](3)],
> [Button("Turevi Hesapla",Evaluate('TB1'='diff(Y1,Y2)')),
I need the button that will change the content (list) of a ListBox. When I create such Maplet, ListBox behaves very strange! The ListBox sometimes shows the list after the button click, but sometimes the list disappears.
The code below reproduces this strange behavior. Just click the button several times.
getObjects := proc()
use Maplets:-Tools in
testList := ["YAHOO", "YAHOO", "YAHOO", "YAHOO", "YAHOO", "YAHOO"];...
January 12 2013
i'am using maplet shortcut in maple
but it did not show in table form, it only gives final answer.
use DocumentTools in
# F1,F2,F3 are my equations
# these is my initial point
# the whole operation
F := Matrix(1 .. 3, 1 .. 1, [[F1], [F2], [F3]]);
J := Jacobian([F1, F2, F3], [x1, x2, x3]);
A user recently sent to me a Maplet that includes the display of an array of plots. This maplet works fine when run under the classic interface but not under the standard interface. As I tried to understand this problem I believe I have narrowed it down to a difference in the way the classic and standard interfaces handle an array of plots.
The attached worksheet is a very simplified example that shows the problem. What should happen is that pressing the "Plot single" button should show a single graph, pressing the "Plot array" button plots the empty axes, and pressing the "Plot displayed array" button displays a 2x2 array of plots. The second and third buttons illustrate the need for "plots:-display" in the action definition for this button.
Unfortunately, this works only in the classic interface. In the standard interface the "plot displayed array" button does not display anything. I should add that it appears to work correctly when exported as a .maplet file and run with the Maplet Viewer.
I have uploaded the worksheet: PlotArrayMapletDem.mw
I am writing a module that will have several procedures. This module will be loaded using "with(modulename)."
Inside one of the procedures (a procedure dealing with opening a data file) I am testing for the existence of a file and, if it does not exist, it should open a filedialog so I can navigate to the relevant folder that has the file. Like this (test is set from the existence-checker to be true or false):
if (not test) then # have to get and set currentdir
What is the maplet in maple ? What does it help me?
What is the maple sim ? where I can download it ?
how do i add more buttons into my maplets
how do i write this procedure in maplet.
I'm writing a maplet and I would like to put in my MathMLViewer two equations. Each equation in different line. How can I do this using MathML[Export]() while setting the value of MathMLViewer ?
Is there a way to create an interactive plot, and put it in a Maplet, so I could get onclick coordinates and display some points there on my plot ? I checked Maple help and I didn't find any onclick event for plot or Maplets,Elements,Plotter but I found something called PlotComponent and there are some options like clickx, clicky. Can I use it somehow in Maplet, or maybe there's another solution ?
I would like to save a simple plot to jpeg file on my hard disk. I've got a Maplet, and a Button which looks like that
and a procedure:
saveImage := proc()
plotsetup('jpeg', 'plotoutput'="plot.jpeg", 'plotoptions'="portrait,noborder");
plot3d(sin(x)+cos(y), x=0..2*Pi, y=0..2*Pi, 'axes'='boxed');