Use the Particle (
) plot in 1D to plot a particle variable versus time for all particles, or to plot one particle property versus another at a set of time steps. When plotting particle properties versus time, it is also possible to perform data series operations on the particle data. Add
Color Expression and
Filter subnodes as needed. To add a particle plot, right-click a
1D Plot Group node and choose
Particle from the
More Plots submenu.
The y-Axis Data section allows you to define an expression, which may be dependent on both particle and field variables.
For Solution number, a distinct line is plotted for every particle, with the y-axis being the user-defined expression from the y-Axis data section and the x-axis being time. The total number of lines equals the total number of particles (after taking the Filter subnode and the selection of the
Particle (Dataset), if any, into account) multiplied by the total number of selected outer solutions if applicable.
For Expression, the expressions entered in the
y-Axis Data and
x-Axis Data sections are plotted against each other for all particles at each specified time – that is, the total number of lines equals the total number of selected times multiplied by the total number of selected outer solutions.
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
Label,
Solution,
Description,
Expression, and
Unit check boxes to control what to include in the automatic legends (by default it includes the solution and description only). 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: 3).
Choose an Operation:
Sum (the default),
None,
Average,
Maximum,
Minimum,
RMS,
Standard deviation, or
Variance. The
Operation is applied to the particles only if the
x-axis is
Time. If
None is selected, a distinct line is plotted for each particle; otherwise, the selected data series operation is used to compute a single data point for all particles at each time step. The default operation prevents an extremely large number of lines from being plotted when a new Particle plot is created.