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

Online Help

All Products    Maple    MapleSim

Visualization Enhancements in Maple 16


Improvements to the Appearance of 2-D and 3-D Plots

Smarter Views

New Commands in the plottools Package

New Color Schemes

Dataset Plots

Zooming into 2-D Plots

Improvements to the Appearance of 2-D and 3-D Plots

In Maple 16, the default values of many plot options were updated to give the most visually appealing plots. For 2-D plots, this includes changes to line thickness and the transparency of filled regions. Updates to 3-D plots include changes to the sampling rate, the lighting and the surface glossiness.




A1plotseqBesselJn, x, n=1..4, x=0..10:

A2plotseqBesselJn, x, n=1..4, x=0..10, filled:


P  Array1..2, 1..2:

P1,1Student:-Calculus1:-VolumeOfRevolutioncosx+3,sinx+2,x=0..4π,output=plot, caption=:

P1,2plot3d1,x,y,x=0..2Pi,y=0..2Pi,coords=toroidal10, scaling=constrained:

P2,1plot3dx*expx^2y^2, x=2..2, y=2..2, color=x, orientation=30,70,40:

P2,2  plot3dsinxy,x= π..π,y=π..π, scaling=constrained, color=SteelBlue:



Smarter Views

The smart view feature for the 2-D plot command is new for Maple 16. When this feature is enabled through the smartview option (set to true by default), Maple attempts to find an appropriate view of the computed data that displays the important regions of the plot.


V  Array1..2, 1..2:

V1,1 plot1x, discont:

V1,2  plottanx, cosx, x=0..2 Pi, discont, color=Niagara_Navy:

V2,1  plotsin, cos, tan, csc, sec, cot, discont:

V2,2  plotlnx2x22, discont:



New Commands in the plottools Package


In Maple 16, the prism, sector, and annulus commands have been added to the plottools package. For more information, see the prism, sector, and annulus help pages.


T  Array1..2, 1..2:

T1,1  displayprismdisk0,0, color=Niagara_LeafGreen, transparency=0.3,scaling=constrained:

T1,2  displayprismsector0,0,2,3π4..5π4,color=Niagara_Violet,base=0.5, transparency=0.4, scaling=constrained, orientation=45,45,30:

T2,1  displayannulus2..3,color=Niagara_GreenishBlue, annulus1..2, color=Niagara_BlueGreen,  axes=boxed, scaling=constrained:

T2,2  displaysector0,0,5,0..Pi3,color=Niagara_Burgundy, transparency=0.5, axiscoordinates=polar, coordinateview=0..5, 0..Pi2:



New Color Schemes

Maple 16 features new default colors for 2-D plots taken from the "Niagara" palette defined in the new ColorTools package. The plots:-setcolors command allows you to use any predefined or customized palette available through ColorTools. For more information, see The New ColorTools Package in Maple 16.



Palette Niagara:BurgundyNavyLeafGreenAzurePurpleBlueGreenVioletDeepBlueCinnamonPaleRedGreenishBlueDarkRoseBluishGreenDarkOrchidBluishPurpleOlive


pplotseqsinxi/6*Pi, i=1..6, x=Pi..Pi, thickness=2, axes=box, legend=seqi,i=1..6, title=Niagara Palette:

plots:-setcolorsSpring:q plotseqsinxi/6*Pi, i=1..6, x=Pi..Pi, thickness=2, axes=box, legend=seqi,i=1..6, title=Spring Palette:plots:-setcolorsdefault: 



Dataset Plots

Maple 16 has a number of new features related to dataset plots. These include:


A new Live Data Plots palette giving instant access to eight new task templates.


Major improvements to the Statistics:-PieChart command.


A new Statistics:-ScatterPlot3D command to produce a scatter plot and a smoothed approximation for a given dataset.

For more information, see Live Data Plots in Maple 16 and What's New in the Statistics Package for Maple 16.


Zooming into 2-D Plots

In Maple 16, a more intuitive approach has been introduced for zoom interaction with 2-D plots. This method uses a "rubber-band" technique, where users can select a region of interest using a click-and-drag combination.

Using this feature, the user can precisely select the horizontal and vertical range of the plot they would like to display.

In addition to this new zoom feature, a new command "Reset to default view" has been added to the Plot menu, the context menu and the 2-D Plot toolbar. This command displays the plot with its original view. For more details, see the zoom help page.