|
From: | Dmitri A. Sergatskov |
Subject: | Re: problem with plot / hold |
Date: | Thu, 25 May 2006 10:32:04 -0600 |
On 5/25/06, Louis Pecora <address@hidden> wrote:
Javier Arantegui wrote:
...
> The solution is very easy: > > subplot(2,1,1); % open up the first plot > plot(rand(1,10)); % plot the first data set to the first plot > hold on % hold the plot > plot(rand(1,10)); % plot the second data to the first plot > > hold off > > subplot(2,1,2); % open up the second plot > plot(rand(1,10)); % plot the third data set to the second plot > > Javier > That doesn't work on my Mac (PowerBook G4, OS X 10.4, Octave 2.1.53). I get all three plots in the 2nd subplot.
set automatic_replot to 0 before doing the plots. (octave:329> automatic_replot = 0) This should not be neccessary in a more recent version of octave (2.1.73 or 2.9.5).
-- Cheers, Lou Pecora
Dmitri. --
[Prev in Thread] | Current Thread | [Next in Thread] |