Visualization - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : System : Information : Updates : Maple 2017 : updates/Maple2017/Visualization


Visualization improvements include plot annotations; new plots for thermophysical data, signal processing, and statistics; and more tools for working with colors and palettes in the ColorTools package.


Plot Annotations





Graph Theory



See Also

Plot Annotations

Plots can now include annotations on points and lines using the annotation plot option. Annotations appear when you mouse over a point or a line with an annotation.

The following visualization was generated by this application. Move the mouse over the points; an annotation gives the location and the magnitude of an earthquake

The world map for this visualization was generated by Maple 2017's new map tools.


This is a ternary plot of the color of gold-silver-copper alloys under specific lighting conditions, generated by this application.

Moving the mouse over the points reveals the composition of the alloy:

More details about adding plot annotations and using options to include coordinate values and customize the display are available in the plot annotations help page. Annotations are available for 2-D plots only.

Contour plots now have labels on the contours that appear when the pointer is placed over a contour line.  


You can control and customize this feature using the contourlabels option as described on the contour plots help page. These labels are available for 2-D contour plots only.


The ThermophysicalData package now generates temperature-entropy charts for any pure fluid.

Note that the plot includes the two-phase dome. You can customize the plot: the temperature and entropy range can be changed and isobars can be modified.


Additionally, thermodynamic cycles can be visualized by placing lines on top of the chart. The following, for example, is a visualization of a Rankine cycle generated by this application.


Maple 2017 features new tools for generating and customizing world maps. This map, for example, is a choropleth that visualizes European fertility rates, and was generated by this application. Lighter shades of green indicates higher levels of fertility.


The new Periodogram function from the SignalProcessing package generates a power spectrum plot.


This, for example, is a periodogram of a speech sample.



This new tool, when allied with the Spectrogram function, gives greater insight into the frequency contents of a signal.


There are many updates to existing Statistics visualizations as well as three new plots:

Venn Diagram



For more detail, see the Statistics and Data Analysis page.

Graph Theory

The updated GraphTheory package offers several new special graphs, and features a new greyscale color scheme for the visualizations.


Book Graph

Chvatal Graph

Folkman Graph

 Franklin Graph

Frucht Graph

Hoffman Graph



The ColorTools package has seen a few changes in this release.


There are five new commands relating to ColorTools[Color] objects: Chroma, Hue, Luma, ToPlotColor, and ToRGB. In addition, the Darken and Lighten commands both accept a new option called best. These commands and options can be used as follows.

greenish Color0.380, 0.400, 0.027;

greenishRGB : 0.38 0.4 0.027


darker  seqDarkengreenish, q, best, q = 0.9 .. 0.6, 0.1;

darkerRGB : 0.34 0.36 0.000351,RGB : 0.302 0.32 0,RGB : 0.265 0.281 0.000191,RGB : 0.229 0.243 0


lighter  seqLightengreenish, q, best, q = 1.2 .. 1.6, 0.2;

lighterRGB : 0.481 0.496 0.144,RGB : 0.555 0.566 0.214,RGB : 0.611 0.62 0.266


shades  opdarker, greenish, oplighter;

shadesRGB : 0.34 0.36 0.000351,RGB : 0.302 0.32 0,RGB : 0.265 0.281 0.000191,RGB : 0.229 0.243 0,RGB : 0.38 0.4 0.027,RGB : 0.481 0.496 0.144,RGB : 0.555 0.566 0.214,RGB : 0.611 0.62 0.266


lumas  mapLuma, shades;



chromas  mapChroma, shades;



coordinates  zipx, y  x, y, lumas, chromas;



It is clear that the Darken and Lighten commands change the colors nonlinearly in this color space.

The new DisplayPalette command provides a helpful way to view the colors in a palette by displaying the names and associated colors in a table.  This command is used on the Plot Color Names help page as well as on the help pages for the predefined color palettes, which are listed on the ColorTools page in the List of Color Collections section.

There are six other new commands relating to ColorTools[Palette] objects: GetPaletteType, GetColors, KnownColor, Lookup, numcolors, and numelems. They can be used as follows.

RP  GetPaletteResene:

colors  GetColorsRP:

sorted  sortcolors, key = Luma:

Suppose we find a color we particularly like in the sorted list of colors, somewhere in the middle of the palette. We can look it up in the original palette.

clementine  sorted630;

clementineRGB : Clementine


colorname  ColorDescriptionclementine;



LookupRP, colorname;

RGB : Clementine



The updated PlotBuilder helps you interactively build 2-D and 3-D plots without the use of commands.


See Also

Index of New Commands and Packages