different set of subplot with loop

3 ビュー (過去 30 日間)
Saurabh Srivastava
Saurabh Srivastava 2016 年 1 月 8 日
回答済み: Mohammad Abouali 2016 年 1 月 8 日
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.

採用された回答

Mohammad Abouali
Mohammad Abouali 2016 年 1 月 8 日
for i=1:3
figure
for j=1:6
%calculation
subplot(2,3,j);
%plot commands
end
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by