Visualization - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 2018 : updates/Maple2018/Visualization

Visualization

 

Borderless Arrows

Computational Geometry

Plot Builder

Rotatable Text

Statistics - ParetoChart

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.

plots:-displayplottools:-arrow0,0,2,2,.05,.2,.1, border=false, color=DarkGrey, legend=A+B,               plottools:-arrow0,0,1,2,.15,.3,.15, border=false, color=Crimson, legend=A,               plottools:-arrow1,2,2,2,.15,.3,.15, border=false, color=CornflowerBlue, legend=B              , size=600,400;

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.

ComputationalGeometry:-VoronoiDiagramLinearAlgebra:-RandomMatrix40,2 , showpoints, symbol=solidcircle, symbolsize=7,colorregions=ColorTools:-GetPaletteDalton;

 

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.

 

plotsinx,axis1=tickmarks=rotation=Pi4;

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

 

ts2TimeSeriesAnalysis:-TimeSeries7,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,frequency=monthly,startdate=2005-09

ts2Time seriesdata set60 rows of data:2005-09-01 - 2010-08-01

(4.1.1)

TimeSeriesAnalysis:-SeasonalSubseriesPlotts2,startingperiod=9,seasonnames=January,February,March,April,May,June,July,August,September,October,November,December,space=0.25,size=800,400

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.

 

DFDataFrame220,288,136,180|11.94,18.1,7.68,9.61|543421,58500118,4594539,undefined|Russia,China,USA,Mexico|Rubus,Vitis,Fragaria,Rubus|Crimson,Purple,Red,Indigo,columns=Energy,Carbohydrates,`Total Tons`,`Top Producer`,Genus,Color,rows=Raspberry,Grape,Strawberry,Blackberry

DataFrame22011.94543421RussiaRubusCrimson28818.158500118ChinaVitisPurple1367.684594539USAFragariaRed1809.61undefinedMexicoRubusIndigo,rows=Raspberry,Grape,Strawberry,Blackberry,columns=Energy,Carbohydrates,Total Tons,Top Producer,Genus,Color

(5.1)

Statistics:-ParetoChart DFEnergy, columngraphoptions=color=sortDF,Energy,`>`Color, labels=,Energy;