|
From: | Doug Stewart |
Subject: | Re: plot in a for loop |
Date: | Wed, 2 Mar 2011 09:43:38 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |