[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: partial plot
From: |
Miquel Cabanas |
Subject: |
Re: partial plot |
Date: |
Fri, 19 Mar 2004 10:21:55 +0100 |
User-agent: |
Mutt/1.3.28i |
you are right, I missed the part of the Octave manual (help -i plot)
where it states that NaN are omitted and Inf are converted to very
large value before passing them to Gnuplot. Thus, in this case the
use of find() and is*() functions is not required, nonetheless, they
can be used to plot values selected according to some other criteria.
Miquel
On Thu, Mar 18, 2004 at 10:58:34AM -0800, Henry F. Mollet wrote:
> What am I missing? The two plots as per below are identical as NaN is
> ignored in the second plot. I'm using
> GNU Octave, version 2.1.46 (powerpc-apple-darwin6.6).
> Calling Gnuplot, calling AquaTerm on Mac 10.2.8.
> Henry
> octave:10> plot (x,y)
> octave:11> gset term aqua 1
> octave:12> plot (x(!isnan(y)),y(!isnan(y)))
>
--
Miquel E Cabanas ------------------------------------------------------
SeRMN, Universitat Autonoma de Barcelona (address@hidden)
------------------------------------------o-oo--ooo---ooo--oo-o--------
-------------------------------------------------------------
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
-------------------------------------------------------------