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

13 次查看(过去 30 天)
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 个评论
Alexander
Alexander 2023-4-26
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 2023-4-28
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.

请先登录,再进行评论。

回答(1 个)

Vishwa
Vishwa 2023-5-15
编辑:Vishwa 2023-5-15
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!

类别

Help CenterFile Exchange 中查找有关 Analyze Simulation Results 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by