Plotting mutiple measurement Data with counter
Mostra commenti meno recenti
Hello together,
i would like to plot my measurements data 66 signals over time in one plot.
However i wrote a counter that i dont have to deal with 66 signals.
How can i plot now all this data in one plot using my counter?
My Script
% 28 or 33 C with 2 sensors each
for iC = 1:numOfC
for iTempOfC = 1:2
signalNameCTemp = sprintf("CC_%02i_Temperatur_%01i", iC, iTempOfC);
idxTemp = (iC - 1) * 2 + iTempOfC; %sub2ind([3,2],2,2)
plot (m.t, all signals of the 66 sensors)
So far I only get 1 signal in my plot.
Thank you guys.
3 Commenti
Ganesh
il 14 Giu 2024
If you are plotting them one by one, ensure you have written "hold on" after your first plot, other signals get plotted on the same plot.
Ganesh
il 14 Giu 2024
"all signals of the 66 sensors"
Does it mean you are storing all of the signals in one variable? I also wonder what the for loop is doing.
Is it possible for us to see what the data looks like? And the full implementation of your code?
Risposte (1)
Si
il 14 Giu 2024
Spostato: Angelo Yeo
il 14 Giu 2024
0 voti
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!