help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

plot in a for loop


From: Mon
Subject: plot in a for loop
Date: Wed, 2 Mar 2011 05:35:40 -0800 (PST)

Morning all,
I know this has been addressed in the past, but I cannot find the relavent
post in the archive.

I am tring to plot some data in a for loop, but once the first iteration
prints, the plot window has the focus and none of the other iterations
print.

figure
#hold on
for i=1:size(x,1)
plot(x{i},y{i})
#drawnow
endfor

"drawnow" doesn't get it, nor does "hold on"

WinXP
Version 3.2.3

--
View this message in context: 
http://octave.1599824.n4.nabble.com/plot-in-a-for-loop-tp3331507p3331507.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]