Mechanomy analyze: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
Line 12: | Line 12: | ||
!name||default||description | !name||default||description | ||
|- | |- | ||
|x||required||name of the x data | |x||required||name of the x data as given in the result box | ||
|- | |- | ||
|y||required||name of the y data | |y||required||name of the y data as given in the result box | ||
|- | |- | ||
|linestyle||solid||line style, one of [none, solid, dash] | |linestyle||solid||line style, one of [none, solid, dash] |
Revision as of 17:34, 3 January 2020
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] |