Items tagged with maplet maplet Tagged Items Feed

maple maplets program

April 22 2012 by joannjubin 10


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

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

adding button into maplets

April 18 2012 by davidp 5

how do i add more buttons into my maplets

maplet programming

April 17 2012 by joannjubin 10

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

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');

How can I create using Maplet a window that is not modal, so I could minimize or maximize it (I know what to do to make it resizable and that's not the question I would like to ask).

This simple example creates modal window with no minimize and no maximize button:

> with(Maplets[Elements]);
> maplet := Maplet(Window([]));
> Maplets[Display](maplet);

Is there an option to set for a Window or maybe I should change some settings in Maple 13 that I'm using ?

HI,

 

I want to create a Textbox which will be opened in the beginning of a Maple code. In this Textbox I want to write an integer, which will be used for a following calculation.

I already found this code:

 

> restart; with(Maplets[Elements]);
print(`output redirected...`); # input placeholder
> maplet := Maplet([["Insert Text", BoxCell(TextBox['IB1'](1 .. 10))], [Button("OK", Shutdown(['IB1'])), Button("Cancel", Shutdown())]]);

index.mw

Higher Mathematics for external students of  biological faculty.
Solver-practicum.
1st semester.
300 problems (15 labs in 20 variants).
mw.zip

Before use - Shake!
(Click on the button and activate the program and Maplet).

Maplet Builder Question

December 22 2011 by alex_01 2978 Maple

I am "playing" around with the Maplet Builder and I am having some problems:
Let say I have three separate vector columns with data loaded in maple ie A, B and C.

i) I want the user of the maplet to be able to select ie highlight a vector from the three
available vectors which are presented in a drop down box.

ii) A button when clicked on plots the data in the selected vector.


How can I do this with the Maplebuilder??  I will need step-by-step instructions.

GetEquation command line

December 20 2011 by anishtain4 10 Maple 13

How do you get equation from user in middle of a procedure? I tried to use the GetEquation of Maplets[Examples] but I cannot make a function out of it. The sheet is something like:

 

I saw an image yesterday of some math done similar to how one can write on paper, with each new reformulation shown on the next line, with a down-arrow between each such line. In other words, operations and output moving down the sheet rather than along it to the right.

The first thing that came to mind was: can this be done in Maple with context-menus?

Here is an attempt,

    cm_downwards.mw

I try to use MathMLViewer with OpenMaple. Similar works with plotting:

If I issue

interface(plotdevice=maplet);

Plots are shown nicely in a new java window.

But executing

Maplets[Elements][MathMLViewer](MathML[Export](x^2));

results in the following error


Error, (in XMLTools:-ToString) could not initialize the Java Virtual Machine

What can I do to make it work?

Thanks a lot!

Insert a Maplet

July 03 2011 by andrewfortune 52

If you create a Maplet using the Maplet builder, how can you insert it into your worksheet ? ... e.g. having a hyperlink or button which when clicked runs your Maplet ?

1 2 Page 1 of 2