PlotBuilder command - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : 2-D : PlotBuilder command

PlotBuilder

interactive plot builder

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

PlotBuilder(expr)

Parameters

expr

-

(optional) expression, or sequence of expressions

Description

• 

The PlotBuilder command allows you to build and display 2-D and 3-D plots interactively. This command only functions within the Standard Worksheet interface.

• 

To generate a plot interactively, use the PlotBuilder(expr) command. A panel then 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.

• 

A plot is displayed within a PlotComponent in the worksheet's main window, with an initial selection of the plot type. You can select a different plot type in the panel.  The plot is updated upon changing the interactive controls related to plot options.

• 

The type of plot can always be changed from within the panel, by reselecting from the list of choices at the top of the panel.

• 

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.

• 

The return value from this command is NULL. The panel contains controls that allow you to save the current plot to a name. Subsequent changes to the displayed plot are not automatically resaved.

• 

The panel contains a Show Command button that toggles (on or off) the display of the plotting command in a text area beneath the displayed plot. This command can 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.

• 

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

• 

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.

• 

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

• 

The interactive plot builder can also be launched from the Assistants menu or from the Context Panel for an expression.  For additional instructions, see worksheet/interactive/plot.

• 

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.

Examples

PlotBuildersinx+1

PlotBuildersinx,cosx

PlotBuildersinxy

PlotBuildercosx2cosy2,sinx2siny2,y

The following command gives a 2-D plot with three curves.  However, in the initial view it is hard to see all three curves.  Click Global Options in the panel to change the view for axis[2] to -5 to 5 for a better view.

PlotBuildersinx,cosx,x3

PlotBuildersinxy2

PlotBuildersinx+zy2

Compatibility

• 

The PlotBuilder command was introduced in Maple 2017.

• 

For more information on Maple 2017 changes, see Updates in Maple 2017.

• 

The PlotBuilder command was updated in Maple 2023.

See Also

plot,options

plot3d,option

plots

plots:-display

worksheet/interactive/plot