You plot with parameters in Maple by wrapping the expression in plot with a parameter range, then either animating it with plots:-animate, layering it with plots:-display at several parameter values, or using Explore for slider-driven control. The command you choose depends on whether you want a static comparison, a moving picture, or a live interface.

Maple’s plotting engine is 2-D and 3-D capable through the plot and plot3d commands, and the parameteric extension comes from a few well-supported packages in the standard library. The plots package ships with Maple and provides animate and display. The Explore command is part of the DocumentTools package and works in worksheets and documents. None of these requires third-party libraries. The exact behavior of Explore depends on your interface—worksheet versus document—and on the Maple version, so I’ll flag those spots where you should confirm against your own installation rather than assume the behavior matches a specific release.

This guide covers the parameter as a family variable, the parameter as a plotting style control, and the parameter as an interactive control, in that order, because that’s the order in which most people need them.

The core idea: a parameter is just a free variable you substitute

Before touching any plotting command, separate two things: the plotting variable (usually x or t) and the parameter (often called a, k, or ω). Maple doesn’t treat them differently; the difference is in what you ask the plotter to do. If you call plot(sin(ax), x = 0 .. 2Pi), Maple will complain because a is unbound. That’s the crux of nearly every first error.

The reliable pattern is to define the parameter first, then plot:

Assigning a before the plot gives Maple a concrete number, and the plot renders a single curve. If you need the parameter to stay general and vary later, keep it free and pass the value at plot time:

Using the arrow operator for a function of two arguments is the cleanest way to keep the parameter explicit. It also lets you reuse the same definition with animate, display, and Explore without rewriting the expression. Define once, plot many ways.

A quick check that you’ve set this up correctly: evaluate f(x,1) at the command prompt. If it returns sin(x), the substitution works. If it returns something unevaluated with a still in it, you’ve used := where you needed an arrow or a function call.

Static plots at chosen parameter values

The first thing most people want is to see the curve at a few fixed values side by side. There are two ways: plot each one separately and combine them with plots:-display, or use the seq command to generate the list programmatically.

Here’s a direct approach using display:

The colon suppresses the output of each intermediate plot, and display assembles them into one figure with a legend. That’s the most readable way to compare frequencies. The legend argument takes a list, and the entries appear in the order the plots appear in display. If the colors clash or the legend sits over the curves, add legendstyle = [location = bottom] or move it outside with legendstyle = [location = bottom, font = [Helvetica, 10]].

The programmatic version is tidier for many values:

The COLOR(HUE, ...) trick spreads colors across the spectrum, which makes it obvious which curve is which when you have five or more. The legend list must match the number of plots exactly; if you change the seq range, update the list. A handy shortcut is to build the legend from the same values:

The cat call builds strings like "a=1" from the numeric values, so the legend stays in sync.

If the curves overlap heavily, consider alternating linestyle among solid, dash, and dot, since color alone can be ambiguous in print and for colorblind viewers.

Animating the parameter with plots:-animate

Animation is the natural way to show how a parameter changes a curve continuously. The plots:-animate command takes an expression, a variable range, and a parameter range:

Notice two things. First, animate takes plot as its first argument, then a list of the arguments to plot. Second, plot here is the command name, not a plot structure; animate calls it repeatedly with different values of a. The parameter range a = 1 .. 5 triggers the animation frames, and frames = 40 controls smoothness. The default frame count is 25 and works fine for many curves; 40 to 60 looks smoother.

The output is an animated plot you can play, step through, or export. To save it as an animated GIF, right-click the plot and choose Export, or call plotsetup(gif, plotoutput = "myplot.gif") before running the animation. Export formats and menu locations differ by version and platform, so verify the exact menu path in your own Maple.

If the animation looks jumpy, the fix is either more frames or a tighter parameter range. If it looks slow, drop to 20 frames for exploration and raise it only when you need a smooth export.

A common failure: forgetting the list brackets around the plot arguments. Writing animate(plot, sin(ax), x = 0 .. 2Pi, a = 1 .. 5) raises an error because sin(a*x) isn’t a list. The syntax is animate(plot, [expr, xrange], prange), and the parameter range comes last.

For 3-D surfaces, the pattern is the same with plot3d:

Here two things change at once: the argument list has two ranges (x and y), and the parameter range is still last. The frame count matters more for 3-D because each frame is more expensive to render.

Interactive control with Explore and sliders

Maple’s Explore command turns a parameter into a slider you can drag, and it’s the fastest way to build a small interactive demo:

Dragging the slider re-evaluates the plot. The y range is worth setting explicitly, because without it the vertical scale jumps as the amplitude changes, and the whole point of a slider is stable comparison.

Explore accepts multiple parameters in a list:

You can also set the initial value and step size per parameter, for example a = 1 .. 10, initialvalue = 3 and a = 1 .. 10, placement = right. The exact option names are version-sensitive; check Maple’s help page for Explore on your installation before relying on a particular option spelling.

Explore is best for live exploration in a worksheet or document. It embeds a small UI and is not the right tool for exporting static figures or for embedding into a report. For those, return to display or animate.

One practical caution: Explore needs the parameter values to be numeric at evaluation time, so symbolic placeholders that aren’t actual parameters of the Explore call will fail. Also, if your expression involves expensive evaluation (for example, a numerical integral), each slider move triggers a full recomputation, and the slider feels sluggish. For heavy expressions, animate with a coarse frame count first, then switch to Explore once you know the interesting range.

Parameterized 3-D surfaces and multiparameter families

The 3-D case deserves its own treatment because the failure modes differ. In plot3d, two variables (say x and y) are plotted over a rectangle, and the parameter changes the surface shape:

For a static side-by-side comparison, use display with array of plots:

The Array wrapper arranges the four surfaces in a grid, which is far more readable than stacking them in one 3-D box. Setting view fixes the axes so the comparison is fair; otherwise each surface auto-scales and small differences look large.

For a multiparameter family, hold one parameter fixed per panel and vary another across panels, or animate over one parameter at a fixed value of the other. Maple’s animate accepts only one animation parameter, so a two-parameter family needs either nested display calls or Explore with two sliders. The Explore route is usually the simpler one:

Maple 2020 and later versions have an animation interface in the plot toolbar; older versions differ in their control layout. Confirm the slider location and refresh behavior on your version.

Common errors and how to fix them

The errors below account for most of the frustration people hit with parameterized plots.

"Error, (in plot) unexpected option: a = 1 .. 5." You put the parameter range in plot instead of animate. plot has no parameter range; only animate does. Switch the command or strip the parameter range.

A plot shows a single flat line or an empty frame. The parameter is unbound and Maple treated it as a symbolic constant, or your parameter range in animate is empty because start equals end. Evaluate the expression at one parameter value first to confirm it’s numeric, and check that the parameter range endpoints differ.

The animation has only one frame. You likely wrote a = 1 .. 1 or the frames option is too small. Set frames = 25 at minimum, and confirm the range endpoints aren’t equal.

Explore returns an error about a non-numeric parameter. One of the names in your expression isn’t included in the parameters list. Add it, or substitute a number with eval before plotting.

The legend doesn’t match the curves. The legend list length must equal the number of plots in display. Build it from the same value list with map and cat, as shown above.

3-D surfaces auto-scale differently across frames. Fix the view option to the same box for every frame. This is the single most common reason an animation looks like it’s wobbling.

A reversible first check for any of these: plot a single curve at a concrete value with the plain plot command and no parameter range. If that works, the expression and range are fine, and the problem is in how you’re asking for the parameterization.

Choosing between display, animate, and Explore

These three commands aren’t interchangeable; they answer different questions.

Command Best for Output Main limitation
plots:-display Publishing several fixed values together Static figure with legend You must choose the values in advance
plots:-animate Showing continuous change over a parameter Animation, exportable as GIF One parameter per animation
DocumentTools:-Explore Live exploration with sliders Embedded interactive panel Tied to the worksheet or document; not exportable as a static figure

Pick display when the figure goes into a report or paper, because a static comparison reads the same for every viewer. Pick animate when the change itself is the point, such as a wave packet spreading or a limit approaching. Pick Explore when you don’t yet know which values matter and want to drag a slider until the interesting region appears, then capture that region with display or animate for the final figure.

A workflow that avoids wasted effort: start with Explore, find the meaningful parameter range, then convert the same function definition into a display or animate call for output. The function form f := (x, a) -> ... carries over directly, so you define the mathematics once.

A worked example: a damped oscillation family

Put the pieces together with a single example. Suppose you want to plot exp(-kt)sin(omegat) over t = 0 .. 4Pi, varying k between 0.1 and 1 while holding omega = 2.

First, explore the interaction:

Dragging the slider shows the envelope collapsing faster as k increases. Fixing y keeps the vertical scale constant so the damping comparison is honest.

Now capture four values for a static figure:

The (k-0.1)/0.9 normalizes the hue across the range, so the darkest curve is the strongest damping. If you want an animation of the same family, use:

Note that y = -1 .. 1 appears in the argument list of plot, not at the top level of animate. That placement is the difference between a stable animation and one whose scale jumps frame to frame.

To verify the result, evaluate exp(-0.1*t)sin(2t) at t = Pi/4 in a separate cell. If the numeric value matches the curve height in the figure at that point, the plot is faithful. That check catches substitution mistakes that produce a plausible-looking but wrong curve.

What the reference date changes (and what it doesn’t)

The core commands here—plot, plot3d, plots:-display, plots:-animate, DocumentTools:-Explore—have been stable across Maple versions for many releases, and the syntax above isn’t tied to a specific year. What does shift between versions is the interface layer: where the slider controls appear, which export formats the context menu offers, and whether Explore runs in a worksheet versus a document. Those are UI details, not mathematics.

As of late 2026, treat the version-specific behavior as something to verify in your installed copy rather than something to assume from a guide. Open the help page for the command in question (?animate, ?Explore, ?display) inside Maple, because the help system reflects your actual version. If a guide and the built-in help disagree about an option name, the built-in help wins.

One more boundary worth stating plainly: Maple’s plotting commands don’t verify that your parameter range is physically meaningful. If you plot a frequency a over 1 .. 10 and the underlying model only makes sense for a < 4, the plot will happily go on, and nothing in the command will warn you. That judgment stays with you.

The short version: define the parameter explicitly with an arrow function, choose display for static comparisons, animate for continuous change, and Explore for live exploration—and always fix the axis ranges when the parameter changes something other than position. That one habit prevents most of the misleading plots people produce with parameters.