Graphics Improvements in Maple 9 - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : System : Information : Updates : Maple 9 : updates/Maple9/graphics

Graphics Improvements in Maple 9


Maple 9 includes the following graphics improvements.


Interface for Numeric and Symbolic Solutions of ODE and ODE Systems

Maplets Package



Interface for Numeric and Symbolic Solutions of ODE and ODE Systems


A new interactive interface (Interactive ODE Analyzer) has been created for numeric and symbolic solutions of ODE and ODE systems.  The Analyzer is easy to use, with many common options.  In addition to computation of solutions and solution values, plots can also be generated.  The Analyzer is suitable as an educational tool; it can provide the corresponding Maple commands needed to compute the solution or plot.  For information on launching the Analyzer (and command-line options), see dsolve/interactive.  For an illustrated description of the interface, see worksheet/interactive/dsolve.

Maplets Package


Enhancements to the Maplets package enable you to interactively rotate 3-D plots in Maplet applications.


The cyclic option to the Maplet application Plotter element has been deprecated.  The option 'cyclic'=true is interpreted as 'continuous'=true.  The option 'cyclic'=false is ignored.



Maple 9 includes a new plot renderer, OpenViz, from Advanced Visual Systems (AVS). This renderer improves Maple plot quality.


Most Maple plotting routines now accept a new transparency=t option, which controls the transparency of plot objects.  The transparency t must be in the range 0.0 to 1.0, with 0.0 meaning ``not transparent'' and 1.0 meaning ``fully transparent''.  For more information, see plot[options] and plot3d[options].


The corresponding plot data structure is TRANSPARENCYt. For more information on PLOT and PLOT3D data structures, see plot[structure].  The following is an example that uses the plot3d command.

plot3d([cos(t), sin(t), s], s=0..1, t=0..2*Pi, transparency=0.2);


There is a new maplet plot device available. It displays plots in a separate window as a Maplet application (using the Maplet application Plotter element). This functionality is particularly useful in the command-line version. For more information, see plotdevice.


The following three plotting routines have been updated to allow a list of curves or surfaces as input: plot3d, plots[implicitplot], and plots[implicitplot3d].  As a result, particular options can now take lists as values.  An example using the plots[implicitplot] command follows.  For more information and additional examples, see the help pages for the three commands.

plots[implicitplot]([x^2+y^2=1, x^2+y^2=4], x=-2..2, y=-2..2,
  color=[coral,blue], linestyle=[DOT,DASH]);


The plots[animate] command has been redesigned to animate any Maple plotting command, including 3-D plotting commands. (The plots[animate3d] command has been superseded by plots[animate].)


Consider the old format for the plots[animate] command.

plots[animate](A*sin(x), x=0..2*Pi, A=0..2, frames=50);


This calling sequence still works and all existing plots[animate] commands work as well.  Using the redesign, the plots[animate] command is the following.

plots[animate](plot, [A*sin(x), x=0..2*Pi], A=0..2, frames=50);


In general, to animate a plotting command of the form plotcommand(f(t, x, y), f2, ..., fn) for the parameter t over the range a..b, you write plots[animate](plotcommand, [f(t, x, y), f2, ..., fn], t=a..b). The first argument is the plotting command, the second argument is the list of inputs to the plotting command, the third argument is the range for the animation parameter, and the remaining arguments are options for the animation. The following animation shows how the xy term of an ellipse deforms a circle.


plots[animate](implicitplot, [x^2+A*x*y+y^2=2, x=-2..2, y=-2..2,
  grid=[50,50]], A=0..1, frames=25 );


The following is a 3-D animation using the plot3d command.

plots[animate](plot3d, [sin(A)*exp(-x^2-y^2), x=-2..2, y=-2..2],


The following is an animation of two figures.

plots[animate](plot, [{[sin(x), cos(x), x=0..t], [sin(2*x), cos(3*x),
  x=0..t]}], t=0..2*Pi, frames=50);


The plots[cylinderplot] and plots[sphereplot] routines have been superseded. The same functionality is available using the coords=cylindrical or coords=spherical option with the plot3d command. For information on plotting in various coordinate systems, see ?plot3d[coords]. Note that for backwards compatibility, the plots[cylinderplot] and plots[sphereplot] commands will continue to function.



The Precalculus subpackage in the Student package introduces a number of visualization tools for precalculus students.  These visualization tools are interactive tutors, graphical user interfaces, that help you work through a particular precalculus problem. For more information, see Student[Precalculus].


The Calculus1 subpackage in the Student package now contains interactive tutors, graphical user interfaces, that help you work through particular calculus problems.  For more information, see Student[Calculus1][InteractiveOverview].


The LinearAlgebra subpackage in the Student package introduces a number of visualization and interactive tools for beginning linear algebra students.  For more information, see Student[LinearAlgebra].

See Also


Index of New Maple 9 Features


New and Enhanced Packages in Maple 9











Using Packages