# Items tagged with mapletmaplet Tagged Items Feed

### Using previous inputs in new maplet...

Yesterday at 2:34 PM by Maple
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

### GUI programming

April 30 2013 by

hallo guys,

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?

### run my maplet from maple

February 02 2013 by Maple

0

1

I created a maplet in maple using the following codes:

> restart:> with(Maplets[Elements]):> m5:=Maplet(> Window('title'="Turev", > [> ["Fonksiyon:",TextField['Y1']()],> ["Turev Degiskeni:",TextField['Y2'](3)],> TextBox['TB1']('editable'='false',3..40),> [Button("Turevi Hesapla",Evaluate('TB1'='diff(Y1,Y2)')),> Button("Tamam",Shutdown(['Y1','Y2','TB1'])),> Button("Temizle",SetOption('Y1'=""))]

### Maplets - ListBox strange behavior

January 23 2013 by

1

0

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.

with(Maplets[Elements]):

getObjects := proc()
local testList;
use Maplets:-Tools in
testList := ["YAHOO", "YAHOO", "YAHOO", "YAHOO", "YAHOO", "YAHOO"];...

### how to display table in maplet

January 12 2013 by

0

0

i'am using maplet shortcut in maple

but it did not show in table form, it only gives final answer.

use DocumentTools in with(LinearAlgebra):with(VectorCalculus):with(linalg):# F1,F2,F3 are my equations F1:=Do(%f1); F2:=Do(%f2);F3:=Do(%f3);# these is my initial pointX1:=Do(%x1);X2:=Do(%x2);X3:=Do(%x3);# the whole operationF := Matrix(1 .. 3, 1 .. 1, [[F1], [F2], [F3]]);J := Jacobian([F1, F2, F3], [x1, x2, x3]);

### Classic vs. Standard: Arrays of plots...

September 11 2012 by Maple

1

4

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

### how do i write this procedure in maplet...

June 27 2012 by Maple 13

### Maplets in a module

May 26 2012 by Maple 15

0

1

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

April 22 2012 by

 >

### I have a small question about the softwa...

April 19 2012 by Maple MapleSim

What is the maplet in maple ? What does it help me?

What is the maple sim ? where I can download it ?

April 18 2012 by

how do i add more buttons into my maplets

 >

### maplet programming

April 17 2012 by

how do i write this procedure in maplet.

 >

### Multiline MathMLViewer

February 27 2012 by Maple 13

1

0

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 ?

### Interactive plot using maplet

February 22 2012 by Maple 13

0

0

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 ?

### Saving plot to jpeg file using Maplet

February 21 2012 by Maple 13

1

2

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

Button['SIM']
(
"Save image",
onclick=Evaluate('function'='saveImage()')
)

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');
 1 2 3 Page 1 of 3