XY Plot
Purpose
Display correlation between two signals
Library
System
Description
The XY Plot displays the relationship between two signals. It can be used in PLECS circuits as well as in Simulink models. For detailed information on how to work with the XY Plot see section Using the XY Plot.
Parameters
- Title
- The name which is displayed above the plot.
- Sample time
- The block sample time used to sample the input signals. The default is -1 (inherited). Other valid settings are 0 (continuous) or a valid fixed-step discrete sample time pair (see Sample Times).
- Limit samples
- If this option is selected, the XY Plot will only save the last
sample values during a simulation. It can be used in long simulations to limit the amount of memory that is used by PLECS. If the option is unchecked all sample values are stored in memory.
- Time range
- This option may be used for periodic systems to limit the displayed
data to a given number of periods.
The time range value determines the time range that is displayed in the plot. If set to auto, the data over the whole simulation time range is used. If a limit is given and the simulation time reaches an integer multiple of this limit the plot is cleared except for the data covering the last
time ranges, where
is the number entered under Show last. The plot is appended until the simulation time reaches the next integer multiple of the time range.
- Axis labels
- The axis labels that are displayed on the x- and y-axis.
- X- and Y-limits
- The initial lower and upper bound of the x- and y-axis. If set to auto, the axes are automatically scaled such that all data is visible. Note that setting any of the limits to auto is computationally expensive and may have a considerable impact on the simulation speed.