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

Home » Public Forums » archive » Re: No removal of "NaN" while plotting on both PLOT and iPLOT
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: No removal of "NaN" while plotting on both PLOT and iPLOT [message #59755] Tue, 08 April 2008 17:59
chpark815 is currently offline  chpark815
Messages: 2
Registered: April 2008
Junior Member
Some part of my My data is here.. This is ASCII. I've already check
all the parts of the data, which might have around 200. values. There
is never such a low values in my data set.

x y
66.8007 456.29 42.319
66.8014 NaN NaN
66.8021 NaN NaN
66.8028 NaN NaN
66.8035 NaN NaN
66.8042 NaN NaN
66.8049 NaN NaN
66.8055 NaN NaN
66.8062 NaN NaN
66.8069 NaN NaN
66.8076 NaN NaN
66.8083 467.55 44.674
66.809 501.11 49.993
66.8097 514.3 49.993
66.8104 529.78 49.993
66.8111 542.07 49.993
66.8118 553.4 49.993
66.8125 566.29 49.993
Re: No removal of "NaN" while plotting on both PLOT and iPLOT [message #59756 is a reply to message #59755] Tue, 08 April 2008 17:46 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
chpark815@gmail.com writes:

> My time series data has a lot of "NaN", which was made by "!
> Values.f_nan". The weird thing is that whenever I try to plot the
> whole data, some "NaN"s are still plotting. (Some are not.)

I find this, uh, hard to believe. :-)

> Data's average is 400.0+/- 50.0. Where the data points have "NaN", the
> plot shows me outliers, very long vertical line going down to the
> 200.0. Why 200 ?. Even though there is no about 200. values in the
> data set.
>
> Anybody has the same experience? Help me~~~~

Try adding PSYM=-2 to your plot command and see if that
sheds some light. I think you have data in your vector
that you don't know about.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: No removal of "NaN" while plotting on both PLOT and iPLOT
Next Topic: Re: array concatenation in 2-D

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

Current Time: Wed Oct 08 18:19:36 PDT 2025

Total time taken to generate the page: 0.00599 seconds