How do I save multiple vectors and use them to display multiple plots at once
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, so, essentially I need to make 82 seperate plots in one figure for 82 seperate id numbers. I have extracted data from a file and calculated the variables I need from it, each is a 1x82 matrix. I've condensed both of these into one 2x82 matrix so that i can plot them against each other. however, each time i run the code I'm getting a different plot since every tiem it runs its generating data from only 1 id number at a time. How do I get matlab to save all the data from each unique id number and plot them all in 1 graph? any help would be much appreciated
0 Kommentare
Antworten (1)
Image Analyst
am 19 Jun. 2019
After you call plot() the first time, call "hold on"
plot(................
hold on;
% more calls to plot......
0 Kommentare
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!