help-octave
[Top][All Lists]
Advanced

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

Re: About Plot


From: André Carezia
Subject: Re: About Plot
Date: Mon, 16 Sep 2002 00:31:42 -0300

On Sunday 15 September 2002 14:51, Mariano Cortesi wrote:
> Hi...
>
> Does anybody knows how to do a "plot" command
> without erasing the previous plot??
>
> I think there should be a env. variable or
> something related with the gnuplot,
> but i can't find it...

Have you already tried the 'hold' command?

Example:

  t=0:.05:1;
  plot(sin(2*pi*t))
  hold on
  plot(cos(2*pi*t))

Regards,

-- 
André Carezia
http://sites.uol.com.br/acarezia



-------------------------------------------------------------
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]