How do I save multiple vectors and use them to display multiple plots at once
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Image Analyst
il 19 Giu 2019
After you call plot() the first time, call "hold on"
plot(................
hold on;
% more calls to plot......
0 Commenti
Vedere anche
Categorie
Scopri di più su Line Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!