Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

If I have a for loop that plots a line on each iteration, how do I make it plot all of the lines on just 1 graph?

2 visualizaciones (últimos 30 días)
Just a simple explanation of how to accomplish this or what functions to use is fine.

Respuestas (1)

José-Luis
José-Luis el 1 de Jul. de 2016
Editada: José-Luis el 1 de Jul. de 2016
hold on might do the trick.
aH = axes;
hold on;
for ii = 1:5
plot(aH,rand(10,1));
end

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by