How to plot many figure with For function?

3 ビュー (過去 30 日間)
SimTec
SimTec 2022 年 8 月 2 日
回答済み: Jon 2022 年 8 月 2 日
Hello,
I would like to implement as many figure as I can using the for loop.
the result are that ,I only see the figure number 20.
for i=1:20
%figure(i)
plot(array(:,1),array(:,i))
end

採用された回答

Jon
Jon 2022 年 8 月 2 日
Uncomment the line in your code that assigns the figure number
So
for i=1:20
figure(i)
plot(array(:,1),array(:,i))
end

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by