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

Online Help

Visualization Updates in Maple 2025

 

Improved Plotting of Data using Units

Custom Ranges for Contour Plots

New Sparse Option for Matrix Plot

Updates to the Student ODEPlot Command

Additions to the GraphTheory Package

Visualizations of Discrete Mathematics

Improved Plotting of Data using Units

• 

Plotting lists of x- and y-coordinates of data points with units is seamless and efficient.

• 

If you have the x- and y-coordinates of some data points, you can plot them as follows.

Xdata := <seq(0 .. 100)>:

noisedata := convert(Statistics:-Sample(Normal(0, 1), 101), Vector[column]):

Ydata := .2 * Xdata + noisedata -~ 8;

(1)

plot(Xdata, Ydata);

In Maple 2025, this calling sequence accepts data with units.

Xdata_units := Xdata * Unit(s);

(2)

Ydata_units := Ydata * Unit(m);

(3)

plot(Xdata_units, Ydata_units);

Custom Ranges for Contour Plots

• 

The command plots:-listcontplot creates a two-dimensional contour plot of a grid of values.  This command now optionally accepts a pair of realcons ranges for its second and third arguments.

• 

Such custom ranges specify the ranges for the tickmarks for the horizontal and vertical axes.

xydata := Matrix([seq([seq( evalf(sin(x/5*y/5)), x=-1..10)], y=-5..15)]);

(4)

plots:-listcontplot(xydata, 0..sqrt(3), 0..sqrt(2));

plots:-listcontplot(xydata);

New Sparse Option for Matrix Plot

• 

The plots:-matrixplot command has a new option sparse when rendering a matrix with discrete cells. This avoids generating plot objects for matrix entries that are equal to zero. This is more efficient for sparse matrices and makes it easier to combine plots of several sparse matrices.

G := GraphTheory:-RandomGraphs:-AssignEdgeWeights(GraphTheory:-RandomGraphs:-RandomDigraph(25), -2.0..2.0):

M := GraphTheory:-WeightMatrix(G);

(5)

plots:-matrixplot( M, 'dim'=2, 'colorscheme'=["Niagara Blue","White","Niagara Red"], 'sparse', 'size'=[700,600]);

Updates to the Student ODEPlot Command

• 

The ODEPlot command in the Student:-ODEs package has been updated.  You now have a more convenient way to quickly visualize the solutions for systems of two first-order ODEs.

• 

For details, see New ODEPlot calling sequence.

Additions to the GraphTheory Package

• 

The GraphTheory package in Maple offers several new special graphs as well as other improvements.

• 

For details, see GraphTheory Updates in Maple 2025.

Visualizations of Discrete Mathematics

• 

The GraphTheory package can be used to provide insight into many areas of mathematics.  Some examples of using GraphTheory with the new PartiallyOrderedSets package to visualize posets, including face lattices coming from the PolyhedralSets package, are found in Advanced Math Improvements in Maple 2025.


Download Help Document