help-octave
[Top][All Lists]
Advanced

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

Re: Plot problem. Hold on active between re-runs.


From: Nose Nada
Subject: Re: Plot problem. Hold on active between re-runs.
Date: Fri, 2 May 2008 07:02:15 -0700 (PDT)

Thanks Ken for your suggestion. I managed to solve this problem with the
command clf.
Omar




kensmith wrote:
> 
> On Thursday 01 May 2008 13:57, Nose Nada wrote:
>> Hello there!
>> I'm using Octave 3.0 (running on Fedora 8). I have several plots in
>> the same figure thanks to hold on. However, when I close the figure
>> and re-run my function the old plots appears in the new graph
>> together with the new plots. They accumulate along runs of my
>> function. If I remove hold on I solve this problem but I lose the
>> capability of multiple plots in the same graph in a single run. If
>> instead I use hold off after the plotting instructions in a single
>> run, I keep having the accumulation problem. If I close and restart
>> Octave the first run comes with no old plots but the second already
>> accumulates.
>> How can I get rid of the accumulation problem?
>> Thanks in advance,
>> Omar
> 
> hold on
> and
> hold off
> 
> work like flipping a flip-flop back and forth.  If you say
> 
> hold off
> plot ....
> hold on
> plot ...
> hold on
> plot ....
> hold on
> 
> you will build up only those plots.  The extra "hold on" commands do 
> nothing bad.
> 
> 
> 
> -- 
> address@hidden
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Plot-problem.-Hold-on-active-between-re-runs.-tp16995062p17019989.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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