Using the Plot Builder - Maple Help

Online Help

All Products    Maple    MapleSim


Plot Interface: Using the Interactive Plot Builder

The Plot Builder provides functionality to build and display 2-D and 3-D plots interactively. This feature works using a control panel that emerges dynamically from the right side of the Maple window.  Using this panel, you can select the plot type and specify plot options.

 

Activating the Plot Builder

Using the Plot Builder

Animations in the Plot Builder

Activating the Plot Builder

  

You can activate the plot builder from the Tools menu or the Context Panel.

From the Context Panel

  

To activate the interactive plot builder using the Context Panel:

1. 

Select an expression in 2-D math input or output.  Ensure that the entire expression is selected.

2. 

In the Context Panel, select Plot Builder. The plot builder panel appears.

From the Tools Menu

  

To activate the interactive plot builder from the Tools menu:

1. 

From the Tools menu, select Assistants and then select Plot Builder.

2. 

In the Interactive Plot Builder: Specify Expressions window, click Add.

3. 

Enter the expression you want to plot in the Add/Edit Expression window.

4. 

Click Accept.

Using the Plot Builder

• 

After you activate the Plot Builder, either from the Context Panel or the Tools menu, a panel appears from the right side of the Maple window. The panel contains embedded components that allow you to select the type of plot and to specify plot options.

• 

When you select a plot type, a plot is displayed in the worksheet's main window. The plot is updated upon changing the interactive controls related to plot options.

  

Note: You can always go back and select a different plot type from the panel. The selection will update automatically in the worksheet.

• 

The set of displayed controls depends dynamically on the valid plotting options for the currently selected plot type. Selecting some specific plot options choices may cause some related controls to change. For example, when the control for style is set to point then the control for thickness becomes hidden and is replaced by controls for symbol and symbol size.

• 

The embedded controls in the panel have tooltip descriptions to facilitate their use.

• 

show command: The panel contains a button that toggles (on or off) the display of the plotting command in a text area beneath the displayed plot. This command may be copied and reused elsewhere in the worksheet. Plotting options whose controls are set to their respective default values are not included in the plotting command, with the exception of the computational ranges for the independent variables.

• 

assign to name: To assign the plot to a name, in the assign to name field, enter the name.

  

Tip: You can zoom in or out in the Plot Builder panel by holding Ctrl (Command, on Mac) and using the mouse scroll wheel.

• 

If you want to revist the Plot Builder to modify the plot and the Context Panel is not currently open, click the plot region and the panel reappears.

  

Note: When the panel reappears its components are in the same state as when they were last changed. This includes the case of restarting the kernel engine or closing and reopening the worksheet.

  

However, re-executing a page or selection with Plot Builder plots resets the Plot Builder.

• 

More than one such interactive plot can exist in a single worksheet, but only one instance can be created within any single execution group.

• 

Combining different types of plots can be accomplished by first using the interactive plot builder to produce and assign them separately, then using the plots[display] command to show them together.

Animations in the Plot Builder

To build animations interactively through the Plot Builder:

1. 

From the context panel for an expression, select Plot Builder.

2. 

Select the animation toggle button to create an animation.

3. 

Specify options as desired in the context panel.

4. 

Click build animation to create the plot animation.  

5. 

Use the animation toolbar to play the animation.

• 

Note: If you are animating a plot with more than one parameterized variable, you can change the sequence order of these variables using the options in the context panel.

See Also

PlotBuilder

Plots and Animations

plots[display]

Plotting Tutorial