How to plot many figure with For function?

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

 Akzeptierte Antwort

Jon
Jon am 2 Aug. 2022

0 Stimmen

Uncomment the line in your code that assigns the figure number
So
for i=1:20
figure(i)
plot(array(:,1),array(:,i))
end

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 2 Aug. 2022

Beantwortet:

Jon
am 2 Aug. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by