Mechanomy analyze

From Mechanomy Composer Wiki
Revision as of 17:32, 3 January 2020 by Unknown user (talk) (Created page with "Within the model annotation, <code>__Mechanomy_analyze</code> allows various plots and analyses to be performed on results. ==plot2D== Plot2D constructs a 2D plot. ===To plo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Within the model annotation, __Mechanomy_analyze allows various plots and analyses to be performed on results.

plot2D

Plot2D constructs a 2D plot.

To plot a single line

__Mechanomy_analyze(plot2D={x:time, y: revWL.phi, linestyle: dashed, linecolor:red, pointstyle:dot, pointsize:8})

To plot a series of lines

__Mechanomy_analyze(plot2D=[{x:time, y: revWL.phi, linecolor:red}, {x:time, y: revLU.phi, linecolor:green}, {x:time, y: revUB.phi, linecolor:blue}])

Each plot has options

name default description
x required name of the x data
y required name of the y data
linestyle solid line style, one of [none, solid, dash]
linecolor red color of the line, one of [red, orange, green, blue]
linewidth width of the line, [0 - 10]
pointstyle circle point style, one of [none, circle, dot, rect, cross, x]
pointcolor red color of the line, one of [red, orange, green, blue]
pointsize point size, [0 - 10]