Each time you simulate a scenario, the design tool plots the corresponding plant input and output responses. The graphic below shows such a response plot for a plant having two outputs (the corresponding input response plot is not shown).
By default, each plant signal plots in its own graph area (as shown above). If the simulation is closed loop, each output signal plot include the corresponding setpoint.
The following sections describe response plot customization options:
You can use data markers to label a curve or to display numerical details.
To add a data marker, click the desired curve at the location you want to mark. The following graph shows a marker added to each output response and its corresponding setpoint.
Each data marker provides information about the selected point, as follows:
Response – The scenario that generated the curve.
Time – The time value at the data marker location.
Amplitude – The signal value at the data marker location.
Output – The plant variable name (plant outputs only).
Input – Variable name for plant inputs and setpoints.
To relocate the data marker's label (without moving the marker), right-click the marker, and select one of the four Alignment menu options. The above example shows three of the possible four alignment options.
To move a marker, left-click it (holding down the mouse key) and drag it along its curve to the desired location.
To delete all data markers in a plot, click in the plot's white space.
To delete a single data marker, right-click it and select the Delete option.
Right-click a data marker to use one of the following options:
Alignment – Relocate the marker's label.
Font Size – Change the label's font size.
Movable – On/off option that makes the marker movable or fixed.
Delete – Deletes the selected marker.
Interpolation – Interpolate linearly between the curve's data points, or locate at the nearest data point.
Track Mode – Changes the way the marker responds when you drag it.
By default the response plots include all the scenarios you've simulated. The example below shows a response plot for a plant with two outputs. The data markers indicate the two scenarios being plotted: "Accurate Model" and "Perturbed Model". Both scenarios use the same setpoints (not marked—the lighter solid lines).
If your plots are too cluttered, you can hide selected scenarios. To do so:
Right-click in the plot's white space.
Select Responses from the resulting context menu.
Toggle a response on or off using the submenu.
Note This selection affects all variables being plotted.
If you modify and recalculate a scenario, its data are replotted, replacing the original curves.
By default, the design tool plots all plant inputs in a single window, and plots all plant outputs in another. If your application involves many signals, the plots of each may be too small to view comfortably.
Therefore, you can control the variables being plotted. To do so, right-click in a plot's white space and select Channel Selector from the resulting menu. A dialog box appears, on which you can opt to show or hide each variable.
By default, each variable appears in its own plot area. You can instead choose to display variables together in a single plot. To do so, right-click in a plot's white space, and select Channel Grouping, and then select All.
To return to the default mode, use the Channel Grouping: None option.
When you're using the Channel Grouping: All option, you might find that the variables have very different scales, making it difficult to view them together. You can choose to normalize the curves, so that each expands or contracts to fill the available plot area.
For example, the plot below shows two plant outputs together (Channel Grouping: All option). The outputs have very different magnitudes. When plotted together, it's hard to see much detail in the smaller response.
The plot below shows the normalized version, which displays each curve's variations clearly.
The y-axis scale is no longer meaningful, however. If you want to know a normalized signal's amplitude, use a data marker (see Adding a Data Marker). Note that the two data markers on the plot below are at the same normalized y-axis location, but correspond to very different amplitudes in the original (unnormalized) coordinates.