different set of subplot with loop
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Saurabh Srivastava
am 8 Jan. 2016
Beantwortet: Mohammad Abouali
am 8 Jan. 2016
Hi all, I want to plot data for two loop. first loop will define the different figure while other loop will define the subplot. for example I have i=1:3 and j=1:6 the I need three figure and each figure must have 6 subplot. The plot should be done in loop.
0 Kommentare
Akzeptierte Antwort
Mohammad Abouali
am 8 Jan. 2016
for i=1:3
figure
for j=1:6
%calculation
subplot(2,3,j);
%plot commands
end
end
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Subplots 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!