How can I display three signals in a single Scope plot with different colors?

Hello everyone,

I am using PLECS and would like to display three signals in the same Scope window.

Currently, when I connect three signals to a Scope, they appear in three separate subplots. Instead, I would like to show all three signals on a single plot with different colors (and a legend if possible) so they can be compared on the same time axis.

Could you please explain how to configure the Scope to display multiple signals on one graph instead of separate plots?

Thank you.

Hi bugraokumus,

Please see the attached model for a few different ways to connect signals to a PLECS Scope.

The Vectorized Scope demonstrates two different configurations:

  • Single Y-Axis
    This is the default behavior. All waveforms contained within the vectorized input signal are displayed on the same subplot using the same y-axis scaling.

  • Different Y-Axes
    When viewing digital signals (for example, gate-drive signals), it can sometimes be difficult to distinguish individual waveforms because they transition at similar times and overlap one another. In these situations, you can use the Spread Signals feature to display the signals on separate y-axes while keeping them within the same subplot.

    See: Spread Signals

The other scope in the example demonstrates a different approach. The vectorized signal is first demultiplexed, and each of the three channels is then displayed on a separate subplot within the scope.

The PLECS Scope is a very powerful tool, and I highly recommend reading through the documentation to become familiar with its available features:

Hope this helps!

scope.plecs (9.3 KB)