Mechanomy analyze

From Mechanomy Composer Wiki
Revision as of 17:34, 3 January 2020 by Unknown user (talk)
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 as given in the result box
y required name of the y data as given in the result box
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]