Explore Command Updates - Maple Help

Home : Support : Online Help : System : Information : Updates : Maple 2015 : Explore Command Updates

 Explore

The Explore function provides an easy-to-use tool for creating interactive applications within the current document or worksheet. Maple 2015 introduces significant updates and additions, including:

 • Customizable interactive marker controls on 2-D plots
 • Images on Play/Pause/Loop animation controls
 • 2-D Math for parameters with sliding controls
 • Support for vertical orientation of Slider controls
 • CheckBox controllers for parameters taking values true and false
 • Startup Code assignments when launching as a new document
 • Document Properties when launching as a new document

For additional details and illustrative examples, see the Explore Example Worksheet.

Images on animation controls, 2D Math for parameter names

The Play/Pause button and the Loop checkbox now have images. Parameter names beside sliding controls are now displayed using 2-D Math.

$\mathbf{\alpha }$

Orientation of controls

The orientation of Slider controls is now respected and can be specified similarly to other control characteristics. A separate orientation option can be used for all Slider controls, which can be overridden in each parameter's individual specification. The orientation also affects the layout of the control's name, current value label, and animation checkbox.

$\mathbf{scale}$

$\mathbf{magnitude}$

$\mathbf{shift}$

When several controls are placed together, they are grouped according to orientation. For example, when placement is to the left of the plotting component then vertically oriented Sliders are stacked horizontally and appear above horizontally oriented Sliders which are stacked vertically.

$\mathbf{scale}$

$\mathbf{magnitude}$

$\mathbf{shift}$

Customizable markers on 2-D plots

You can now customize the appearance of markers in a 2-D plot exploration as well as fix one of the coordinates of a marker.

To customize the appearance of a marker, use the plot options color, symbol, and symbolsize in the markers options sequence. By default, all markers have the same customizations, but you can override the default customization by setting customizations for individual markers. For example, in the following Explore command call, all of the markers have their appearance set to color=blue, symbol=solidcircle, and symbolsize=25, except for the first and $n$th markers (where the color=red option overrides the color=blue option).

To fix one of the coordinates of a marker, specify a fixed numeric value for that coordinate. In the following example, all of the markers have fixed horizontal positions (specified by the list xini). Their vertical positions, however, are set to variable parameters. In the exploration, you can change the vertical position of any of the markers but you cannot change their horizontal positions.

Note: To try this or any other example on this page, select View > Open Page as Worksheet, and then execute the commands.

Spline Interpolation

CheckBox controllers

A parameter which takes on values of true and false can now have its controller be a CheckBox. This is the default for a parameter whose values are specified by a two-element list containing entries true and false.

In the following example, the parameter tf with label gridlines is controlled by a CheckBox component. Notice that you can select and clear gridlines while the exploration's animation is running.

 

$\mathbf{a}$

Although the same example can be constructed by setting controller=combobox for parameter tf, you cannot change the value of gridlines while the animation is playing as you can with CheckBox component.

 truefalse

$\mathbf{a}$

Finally, it is not necessary to give a list of values when you specify the controller as checkbox.

 

$\mathbf{a}$



Startup Code definitions in new Documents

The newsheet option for Explore opens your exploration in a new Document instead of the current document. This is convenient for creating applications or assignments. However, in previous versions of Maple, if your exploration depended on names not defined in Maple (for example, a procedure or a module that you wrote), you needed to copy the code for these names into the new Document and then execute the code before running the exploration. This process has been simplified with the new startupdefinitions option.

The startupdefinitions option inserts assignment statements into the Startup Code region of the new Document. When the new Document opens, these assignment statements are executed automatically and your exploration is ready to run. The following sections give two examples to illustrate how this works. The first example shows how to insert a procedure into the Startup Code region of a new Document. The second example shows how to insert an unevaluated module into the Startup Code region.

 Inserting a procedure In the following example, the Cobweb procedure produces a cobweb plot for the logistic map, r$x$(1-x). The newsheet option causes the exploration to start in a new Document. The startupdefinitions option inserts the code that assigns the Cobweb procedure to the Cobweb name into the Startup Code region of the new Document. This allows the exploration to function directly after opening.