Visualization - Maple Help

Visualization

Borderless Arrows

A frequently requested item, plottools:-arrow and plots:-arrow both have a new option, border, that controls the display of the border around the arrow.

The following example shows the addition of two vectors, A and B.

 >

Computational Geometry

Several commands in the ComputationalGeometry package can generate dynamic visualizations including the following Voronoi Diagram:

Additional plot settings can be controlled using commands such as plots:-setcolors.

 >

 Plot Builder The PlotBuilder provides an easy mechanism to build a wide variety of plots. In Maple 2018, you can now generate plots for inequalities.

Rotatable Text

Rotatable tickmarks

Tickmarks in plots have a new suboption, rotation, which makes it possible to rotate the angle of the tickmarks.

 > $\mathrm{plot}\left(\mathrm{sin}\left(x\right),\mathrm{axis}\left[1\right]=\left[\mathrm{tickmarks}=\left[\mathrm{rotation}=\frac{\mathrm{Pi}}{4}\right]\right]\right);$

Several plots have been updated to use this by default, including plots from the TimeSeriesAnalysis package:

 > $\mathrm{ts2}≔\mathrm{TimeSeriesAnalysis}:-\mathrm{TimeSeries}\left(\left[7,23,21,19,13,46,42,30,31,26,19,9,16,26,17,33,31,46,42,35,45,30,11,17,23,20,15,36,31,55,49,39,36,28,12,11,21,23,27,33,36,49,42,37,33,45,12,7,23,32,25,42,27,52,50,34,41,40,16,14\right],\mathrm{frequency}=\mathrm{monthly},\mathrm{startdate}="2005-09"\right)$
 ${\mathrm{ts2}}{≔}\left[\begin{array}{c}{\mathrm{Time series}}\\ {\mathrm{data set}}\\ {\mathrm{60 rows of data:}}\\ {\mathrm{2005-09-01 - 2010-08-01}}\end{array}\right]$ (4.1.1)
 > $\mathrm{TimeSeriesAnalysis}:-\mathrm{SeasonalSubseriesPlot}\left(\mathrm{ts2},\mathrm{startingperiod}=9,\mathrm{seasonnames}=\left["January","February","March","April","May","June","July","August","September","October","November","December"\right],\mathrm{space}=0.25,\mathrm{size}=\left[800,400\right]\right)$

Rotatable textplot

The plots:-textplot command has also been updated to accept the rotation option.



Statistics - ParetoChart

The ParetoChart command generates a plot of a tagged histogram of decreasing values and a curve indicating the percentage cumulative sum of the values.

 > $\mathrm{DF}≔\mathrm{DataFrame}\left(⟨⟨220,288,136,180⟩|⟨11.94,18.1,7.68,9.61⟩|⟨543421,58500118,4594539,\mathrm{undefined}⟩|⟨\mathrm{Russia},\mathrm{China},\mathrm{USA},\mathrm{Mexico}⟩|⟨"Rubus","Vitis","Fragaria","Rubus"⟩|⟨"Crimson","Purple","Red","Indigo"⟩⟩,\mathrm{columns}=\left[\mathrm{Energy},\mathrm{Carbohydrates},\mathrm{Total Tons},\mathrm{Top Producer},\mathrm{Genus},\mathrm{Color}\right],\mathrm{rows}=\left[\mathrm{Raspberry},\mathrm{Grape},\mathrm{Strawberry},\mathrm{Blackberry}\right]\right)$
 ${\mathrm{DF}}{≔}\left[\begin{array}{ccccccc}{}& {\mathrm{Energy}}& {\mathrm{Carbohydrates}}& {\mathrm{Total Tons}}& {\mathrm{Top Producer}}& {\mathrm{Genus}}& {\mathrm{Color}}\\ {\mathrm{Raspberry}}& {220}& {11.94}& {543421}& {\mathrm{Russia}}& {"Rubus"}& {"Crimson"}\\ {\mathrm{Grape}}& {288}& {18.1}& {58500118}& {\mathrm{China}}& {"Vitis"}& {"Purple"}\\ {\mathrm{Strawberry}}& {136}& {7.68}& {4594539}& {\mathrm{USA}}& {"Fragaria"}& {"Red"}\\ {\mathrm{Blackberry}}& {180}& {9.61}& {\mathrm{undefined}}& {\mathrm{Mexico}}& {"Rubus"}& {"Indigo"}\end{array}\right]$ (5.1)
 >