How to plot many figure with For function?

1 visualización (últimos 30 días)
SimTec
SimTec el 2 de Ag. de 2022
Respondida: Jon el 2 de Ag. de 2022
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

Respuesta aceptada

Jon
Jon el 2 de Ag. de 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

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by