Mechanomy analyze: Difference between revisions

From Mechanomy Composer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
|linecolor||red||color of the line, one of [red, orange, green, blue]
|linecolor||red||color of the line, one of [red, orange, green, blue]
|-
|-
|linewidth||||width of the line, [0 - 10]
|linewidth||1||width of the line, 0+
|-
|-
|pointstyle||circle||point style, one of [none, circle, dot, rect, cross, x]
|pointstyle||circle||point style, one of [none, circle, dot, rect, cross, x]
Line 26: Line 26:
|pointcolor||red||color of the line, one of [red, orange, green, blue]
|pointcolor||red||color of the line, one of [red, orange, green, blue]
|-
|-
|pointsize||||point size, [0 - 10]
|pointsize||1||point size, 0+
|}
|}

Latest revision as of 17:35, 3 January 2020

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

plot2D[edit]

Plot2D constructs a 2D plot.

To plot a single line[edit]

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

To plot a series of lines[edit]

__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[edit]

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 1 width of the line, 0+
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 1 point size, 0+