Use a Line Graph (
) to plot a scalar quantity along a geometric line. The line can be an edge in the geometry, a parameterized curve, or a cut line. Make a graph plot of a quantity versus another quantity (for example, time). Add a
Color Expression,
Graph Marker, or
Filter subnode as needed. Right-click a
1D Plot Group or
Polar Plot Group to add this plot type.
When Solution is selected as a
Dataset, this section displays. Select
Manual from the
Selection list to choose geometry directly from the
Graphics window. Select
All to add the applicable geometry or any other predefined grouping.
Select the Plot on secondary y-axis check box to plot the
y-axis data on the secondary
y-axis to the right of the plot instead of the primary
y-axis to the left of the plot.
For Parametric Sweep studies, for each pair of outer solutions or inner solutions, one line is plotted on the graph. For example, if there are 10 outer solutions and each outer solution has five inner solutions, then 50 lines are drawn. The number of inner solutions can vary between outer solutions.
Select Arc length or
Reversed arc length from the
Parameter list to visualize along an arc length in the direction of the arc or the reversed direction of the arc, respectively; select
Dataset space variable to use the space variable in the chosen dataset as the data on the horizontal axis; or select
Expression to visualize along, for example, a coordinate expression. If
Expression is selected, go to
Expressions and Predefined Quantities.
Select the Show legends check box to display the plotted expressions to the right of the plot. In plots where each line represents a certain time value, eigenvalue, or parameter value, these values are also displayed.
When Automatic is selected from the
Legends list (the default), select or clear the
Description,
Expression, and
Unit check boxes to control what to include in the automatic legends (by default, it includes the description only). You can also add a prefix or a suffix to the automatic legend text in the
Prefix and
Suffix fields. If
Manual is selected from the
Legends list, enter your own legend text into the table. If
Evaluated is selected, you can use the
eval function to create an evaluated legend text in the
Legend field that include evaluated global expressions such as global parameters used in sweeps. For the numerical evaluation, you can control the precision in the
Precision field (default value: 3).