In data inspector, how to move a plot backwards (against another plot)

3 views (last 30 days)
I'm using data inspector to display my data.
I want to display 2 plots on the same pannel.
What I want to see are a raw data and the same signal filtered.
But the filtered signal is comming first in the signal list, so it is displayed first.
And over my filtered signal I have the raw signal that mask completly the filtered signal.
I need to move the raw signal backwards to be able to see both at the same time.
I found no control to manage that.
On the image, Filtered signal is not visible (under InterFiltered signal).
Do somone have already solve this problem?
  2 Comments
Alexander
Alexander on 26 Apr 2023
Unless you are altering the original set of values to display the filtered signal, plot the unfiltered signal before you plot the filtered one. You can just save the filtered signal to a matrix variable (Let's say a), continue with the program which should plot the unfiltered signal, and plot "a" at the end.
Yohann GOYER
Yohann GOYER on 28 Apr 2023
I agree with you if i was using a script for plotting data (in figurs), but i'm using data inspector and to add or remove a signal in a plot it just need to select (check box) the correspondign signal.
But signal are displayed in the order they have in the predefine list.
And unfortunatly, the noisy signal is after the filtered signal in the list, so it is displayed over the filtered signal every time.
Before I remember the signal are displayed in the order they were add (check in), regardless their position in the list.
But now in 2023a, the function seems to be remove, and I'm asking how to do the same now.

Sign in to comment.

Answers (1)

Vishwa
Vishwa on 15 May 2023
Edited: Vishwa on 15 May 2023
Hi Yohann,
In order to bring a particular plot in front, you can click corresponding plot legend shown in the graph area of Data Inspector.
Alternatively in Data Inspector, you can also plot each waveform in a separate graph, by adding a second row. (This option can be found in the top right corner)
Hope it helps!

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!