help-octave
[Top][All Lists]
Advanced

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

Re: holding on...


From: avraham.rosenberg
Subject: Re: holding on...
Date: Sun, 3 Aug 2003 23:39:40 -0500

Adding to the answers you already got:
You can include all functions to be plotted on the same plot command:
plot(t,real(y), 'b-', t, image(y), 'r--');
which would spare you the "hold off" nedded to get a clean slate again (I
tend to forget this one and get angry with myself every time).
Cheers, Avraham

On Sat, 2 Aug 2003, Mike wrote:

> The following statements plot two curves on the same axes but I want 
> them to be appeared simultaneousy
>  and not successively:
> t =0:pi/20:4*pi;
> y = exp(-0.2*t) .*(cos(t)+i*sin(t));
> xlabel..etc;
> ylabel..etc;
> plot(t,real(y), 'b-');
> plot(t, image(y), 'r--');
> Can I add something to hold the drawing of the first plot function?
> Thanks.
> 
> Mike
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 
> 
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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