How to plot many figure with For function?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponse acceptée
Jon
le 2 Août 2022
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!