Grain (Plot)
Use the Grain () plot in 1D to plot a grain variable versus time for all grains, or to plot one grain property versus another at a set of time steps. When plotting grain properties versus time, it is also possible to perform data series operations on the grain data. Add Color Expression and Filter subnodes as needed. To add a Grain plot, right-click a 1D Plot Group node and choose Grain from the More Plots submenu.
Go to Common Results Node Settings for links to information about these sections: Data, Title, and Coloring and Style. For Grain plots, only Grain datasets are allowed as inputs.
y-Axis Data
The y-Axis Data section allows you to define an expression, which may be dependent on both grain and field variables.
X-Axis Data
Select a Parameter: Solution number or Expression.
For Solution number, a distinct line is plotted for every grain, 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 grains (after taking the Filter subnode and the selection of the Grain (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 grains 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.
Legends
Select the Show legends checkbox 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 checkboxes to control what to include in the automatic legends (by default it includes the solution and 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: 3).
If Manual is selected from the Legends list or if you add a Prefix or Suffix, it is possible to add LaTeX characters to the legend text. See Manual Plot Titles for more information about LaTeX formatting modes. See also Mathematical Symbols and Special Characters for information about available LaTeX characters.
Data Series Operation
Choose an Operation: Sum (the default), None, Average, Maximum, Minimum, RMS, Standard deviation, or Variance. The Operation is applied to the grains only if the x-axis is Time. If None is selected, a distinct line is plotted for each grain; otherwise, the selected data series operation is used to compute a single data point for all grains at each time step. The default operation prevents an extremely large number of lines from being plotted when a new Grain plot is created.