comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Plot problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Plot problem [message #39988] Tue, 29 June 2004 04:32
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
In article <cbri82$dvp$1@news.urz.uni-heidelberg.de>, "Andreas Ernst"
<aernst@ari.nis> wrote:


> Hi:
> ...
> I am using psym=-1 as an option of PLOT (or OPLOT), which
> should connect all the data points.
> Why is this not the case?
> Thanks in advance. Andreas


Hi,

Plot won't connect the points if the values are not valid numbers (e.g.
!values.f_NAN)

so
a=findgen(100)
a[20:30]=!values.f_nan
plot, a

;

gives you a diagonal line with a gap between 20 and 30. Try PRINTing the
data, it may be that you took the square root of a negative number, or
read in a string as a floating point value.

Chris.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Can I use HISTOGRAM to do this?
Next Topic: ActiveX method problems

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:13:41 PDT 2025

Total time taken to generate the page: 0.72622 seconds