interactive - 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 : Packages : plots : interactive

plots[interactive] - interactive plotting maplet

Calling Sequence

interactive(expr, variables)




(optional) expression



(optional) expression of the form variables=varset



The interactive command is part of the plots package. It allows you to build plots interactively.


The Plot Builder provides a more flexible interface to building a plot interactively.  For details, see Using the Interactive Plot Builder.


If expr is an algebraic expression or a list, it is taken to be a single expression to be plotted.  If expr is a set of algebraic expressions or lists, these are taken to be separate expressions to be plotted in the same graph.


If present, the variables option provides a complete list of the variables used in plotting.


To generate a plot interactively, use the interactive(expr) command. Follow the instructions in the subsequently displayed dialogs. Maple will generate a plot and display it in the worksheet.


The interactive command can create only one type of plot (for example, plot from an expression, implicitly defined plot, complex plot) at a time. To combine different types of plots, first use the interactive plot builder to plot them separately, then use the plots[display] command to show them together.  See example below.






To plot the following expressions with different plot types on the same axes, try plotting the first expression as a 3-D complex plot, and the second as a 3-D plot.  Notice that the options change to only allow plot structures which can handle the given expression.  Remember that both plots must have the same dimension. For 2-D plots, you can also use the dualaxisplot command to display more than one expression in a single plot.




See Also

plots, plots[display], plots[dualaxisplot], plots[interactiveparams], Using the Interactive Plot Builder