| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
| On this page… |
|---|
How the Viewer Determines Trace Color Coding and Line Styles |
The Scope Viewer is not the same as the Scope block. For an explanation of the differences, see How Scope Blocks and Signal Viewers Differ.
The Scope Viewer does not show the signal label on the axis.
The Scope Viewer does not work with the Report Generator.
The Scope Viewer does not display the simulation minor time step values.
Not all of the Scope Viewer features are supported when you simulate your model in Rapid Accelerator mode. For more information, see Using Scopes and Viewers with Rapid Accelerator Mode.
The Help button for the Scope Viewer is located in the Scope Viewer's Parameters dialog box. For more information, see Scope Viewer Parameters Dialog Box.
The Scope Viewer displays each signal as a separate, color-coded trace, in the following order:
Blue
Red
Magenta
Cyan
Yellow
Green
The viewer cycles through the colors if the axis is displaying more than six signals.
If a signal contains multiple elements (such as a vector or matrix), the viewer distinguishes the elements with different line styles. If a signal has more than four elements, the viewer cycles through the line styles. The line styles retain the color of the signal.
| Signal Element | Scope Viewer |
|---|---|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
In some cases, when a Scope Viewer needs to display a large number of data points, the simulation slows. When this happens, you can improve simulation performance by adjusting the settings of some of the viewer parameters. Try one or a combination of the following until you are satisfied with the simulation performance.
Turn off scroll mode. See Scroll.
Reduce the time range. See Time Range.
Use decimation to reduce the number of data points. See Decimation.
Increase the refresh period to decrease the refresh rate. See Refresh Period.
Limit the number of data points that the viewer saves to the workspace. See Limit data points to last.
![]() | Displaying a Scope Viewer | Changing Viewer Characteristics | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |