Plot the Element Results
You can plot element results such as the position or orientation of a body, the rotation of a joint, or the forces acting on the mechanism.
-
From the Results section of the action bar,
click 2D Plot
.
As a result:- The 2D Plot dialog box and the Viewer 2D Plot panel appear.
- The 2D plot element appears in the tree, under the Result node.
-
In the 2D Plot dialog box, from Analysis step
result, select the result of a kinematic or dynamic step.
Notes:
- If you selected an analysis step result from the Result
node of
the tree before clicking 2D Plot
, the
corresponding step result is already selected in the list. - If the Physics Simulation contains two or more analysis case results, the list displays the step results of the current analysis case only.
- If you selected an analysis step result from the Result
-
In the Channel Selection section, select the mechanism elements
to plot:
-
From the first filter list, select the element category for which you want to
plot results.
By default, No Filter
is
selected. The list includes all elements with results available for plotting.The available element categories depend on the definition of your mechanism. For example,
Bodies displays the list of bodies with results to
plot. -
From the second filter list, select an element or enter its name (or parts of it)
in the field.
For example, you can select a body to plot its position and orientation. Or, you can select a joint to plot the joint forces and torques.
The channels available for the selected element appear in the Channel Selection section.
Tips: - Click the arrow in front of the name of a channel category to expand or collapse the list of available channels.
- If you select or clear the check box of a channel category, all the check boxes of the channels listed in the category are selected or cleared.
-
From the first filter list, select the element category for which you want to
plot results.
- Optional:
Specify a channel other than the simulation time for the x-axis of the curves to
plot.
Note: The selected channel is used as the x-axis for new curves. The x-axis channel of existing curves is not modified.
- From the list of channels, select the one to use as the x-axis.
-
Click Use as X-Channel.
The selected channel appears in the X-Channel for New Curves section.
-
To reset the x-axis to the simulation time, click
.
- From the list of channels, select one or more computation results to plot.
-
Click Add to Plot.
The Viewer 2D Plot panel displays a plotted curve for every selected channel.
Tips: - You can hover over the plotted curve or curves to display the value of the channel at a specific time.
- Click and drag the cursor over a specific area of the plot diagram to zoom in on it.
- Optional:
In the Plotted Curves section, modify the properties of the
corresponding curves:
-
Select the curve to edit, and click
to open the
Curve Properties dialog box.
- Edit the Name of the curve to display in the 2D Plot dialog box and in the legend of the Viewer 2D Plot panel.
-
From Style, select a color, line style, and line width for
the curve.
Tip: You can also see the analysis step result to which the curve belongs, as well as X- and Y-channels used for the curve.
Tips: - To remove a curve from the Viewer 2D
Plot panel, click
next
to it. - To delete multiple curves, click near the Plotted Curves and select Clear all plotted curves.
The Viewer 2D Plot panel updates automatically. -
Select the curve to edit, and click
-
In the Viewer 2D Plot panel, use the
following options to navigate and edit the plot:
Option Description
Edit 2D PlotOpens the 2D Plot dialog box again to let you edit the plotted curves. Note: This option is grayed-out if the 2D Plot dialog box is already visible. To close the dialog box, click OK.
Zoom to FitResets the view to display the entire curves, plotted from the start to the end of the analysis step. In the Viewer 2D Plot panel, select a specific part of the plot to zoom on it.
Plot LegendDisplays or hides the name of the plotted curves. This option is selected by default.
Value CursorDisplays or hides the respective plot values as you hover over the curves. This option is selected by default.
Plot OptionsSpecifies the display options for the plot, such as the x- and y-axis labels.
Export Plotted ResultsExports the values of the plotted curves in .csv file format. For more information, see #tt-ExportingthePlotResults. Note: To modify the graph units displayed in the Viewer 2D Plot panel, click Me > Preferences and edit the units in Common Preferences > Parameters, Measures, and Units > Units > Units and dimension display.For more information, see Units.
-
Click OK to close the 2D Plot dialog box.
The Viewer 2D Plot panel still remains open.
Tips: - Click
in the
Viewer 2D Plot panel to
minimize it. You can click
in the 3D area
to open it again. - Click
in the 2D
Plot dialog box to close both the dialog box and the panel.
If you rerun the simulation, the curves displayed in the Viewer 2D Plot panel are updated accordingly.
- Click