Customizing Plot Colors
Simcenter STAR-CCM+ allows you to define plot colors based on inputs to the plots, and to override these color choices where necessary. For example, you can define and maintain colors based on their relationship to specific residuals on residual plots, or to particular input surfaces within a region. You can also create and apply your own colors, such as the colors used by your company for its branding.
- Plot Colors
-
The Plot Colors node (one per simulation) contains a list of inputs associated with a given color and a list of tracked inputs paired with specific colors. An input in this list is a simulation object that provides data to a dataset, such as a monitor, a table, a part, or a region. This node, when accessed, gives you an interactive tabular display where you can view, add, or remove entries, and then decide whether to apply them.
- Color Assignment
-
Each plot contains a Color Assignment node that determines how to assign colors to objects on the plot.
The following modes are available for the Color Assignment node:
- Next Available—given the current colors assigned, chooses the least used color from the palette.
- Assign from Plot Colors—for a given input in the plot, checks the list of input-color pairs in the Plot Colors object, and applies the associated color one time. No further checks of the list are performed.
- Link to Plot Colors—causes plot colors to change whenever changes are applied to the Plot Colors node.
To work with these color controls, use the following techniques:
Action | Instructions | ||
---|---|---|---|
Assign colors according to the Mode chosen in the Color Assignment node |
On an individual data set node, or on the corresponding line or symbol in the plot display, right-click and select . This action affects the color settings of that data set.On any of the following, right-click and select Reset Color Assignment:
|
||
Apply the global color assignments (input-color pairs) of the Plot Colors node uniformly to all plots in the simulation | Right-click the Plot Colors node and select
Apply Colors to All
Plots. For each data series in a plot, if a corresponding input-color pair is found within the Plot Colors node, this action assigns that paired color to the corresponding data series using that input instead of assigning it a new color. |
||
Link a plot to the settings of the Plot Colors node | Expand the plot node, select the Color
Assignment node, and set the Mode property to
Link to Plot
Colors. Any subsequent changes to the
global color assignments apply to this plot.
|
||
Add a newly created color in a data set to the Plot Colors node |
Use
one of the following techniques:
|
||
Remove an input-color pair from the Plot Colors node |
|
||
Apply a newly created color in a data set to all plots in the simulation |
|
||
Set up the plot colors so that any color changes in any plot object get applied to all plots in the simulation | In all plots, select the Color Assignment node, and set the Mode property to Link to Plot Colors. |