interactiveparams - Maple Help

Home : Support : Online Help : Graphics : Packages : plots : interactiveparams

plots

 interactiveparams
 plot with interactive parameters in a Maplet

 Calling Sequence interactiveparams(plotcommand, plotargs, t1=a1..b1, ..., tn=an..bn, options)

Parameters

 plotcommand - Maple procedure that generates a plot or animation plotargs - arguments to the plot command ti - names of parameters which can be interactively adjusted ai, bi - constants giving the range over which ti may vary options - (optional) equation(s) of the form option=value; specify options for the plot command

Description

 • The interactiveparams command is part of the plots package. It allows you to interactively adjust the value of certain variables in an expression and see the effect of plotting with these variables set to constant values.
 • The command produces an interactive Maplet.
 • For a more flexible way to create a plot with interactive parameters, see the Explore command.  Using Explore, you can create an interactive plot with sliders or animation in the worksheet.

Examples

 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{interactiveparams}\left(\mathrm{plot},\left[\mathrm{sin}\left(x+y\right),x=0..\mathrm{\pi }\right],y=-\mathrm{\pi }..\mathrm{\pi }\right)$
 > $\mathrm{interactiveparams}\left(\mathrm{animate},\left[\mathrm{plot},\left[{x}^{p}+t,x=0..3\right],t=-5..5\right],p=1..5\right)$