Scope
Purpose
Display simulation results versus time
Library
System
Description
The PLECS scope displays the measured signals of a simulation. It can be used in PLECS circuits as well as in Simulink models.
A number of analysis tools and data display options allow detailed analysis of the measured signals. For more information on how to work with the scope see section Using the PLECS Scope.
Parameters
- Number of plots
- This parameter specifies the number of plots shown in the scope window. Each plot corresponds to a terminal on the outside of the block. For each plot, a tab is displayed in the lower part of the dialog where the plot settings can be edited.
- Display time axis
- The time axis is either shown underneath each plot or underneath the last plot only.
- Time axis label
- The time axis label is shown below the time axis in the scope.
- 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 PLECS scope 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
- The time range value determines the initial time range that is displayed in the scope. If set to auto, the simulation time range is used.
The following items can be set for each plot independently:
- Title
- The name which is displayed above the plot.
- Axis label
- The axis label is displayed on the left of the y-axis.
- Y-limits
- The initial lower and upper bound of the y-axis. If set to auto, the y-axis is automatically scaled such that all data is visible.