Visualization - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

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

ThermophysicalData

Maps

SignalProcessing

Statistics

Graph Theory

ColorTools

PlotBuilder

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.

ThermophysicalData

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.

Maps

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.

SignalProcessing

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

 

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

signalAudioTools:-Readcatkerneloptsdatadir,/audio/MapleSimMono11025.wav:

SignalProcessing:-Periodogramsignal,size=800,400

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

Statistics

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

Venn Diagram

ViolinPlot

WeibullPlot

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

 

ColorTools

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

withColorTools:

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

(7.1)

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

(7.2)

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

(7.3)

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

(7.4)

lumas  mapLuma, shades;

lumas0.3143831233,0.27941840,0.2452529810,0.21193181,0.35297,0.45262667,0.52411167,0.57852909

(7.5)

chromas  mapChroma, shades;

chromas0.359709788,0.320170,0.280881991,0.242659,0.373,0.351633,0.351703,0.353711

(7.6)

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

coordinates0.3143831233,0.359709788,0.27941840,0.320170,0.2452529810,0.280881991,0.21193181,0.242659,0.35297,0.373,0.45262667,0.351633,0.52411167,0.351703,0.57852909,0.353711

(7.7)

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

(7.8)

colorname  ColorDescriptionclementine;

colornameClementine

(7.9)

LookupRP, colorname;

RGB : Clementine

(7.10)

PlotBuilder

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