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

Home » Public Forums » archive » Re: IDL 8.2.2 and PLOT with NaN values
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 8.2.2 and PLOT with NaN values [message #83724 is a reply to message #83723] Tue, 26 March 2013 10:05 Go to previous messageGo to previous message
Karlo Janos is currently offline  Karlo Janos
Messages: 31
Registered: July 2008
Member
Thanks Fabien,

but actually in my program where I have found the error for the first
time (after the upgrade to IDL 8.2.2) I use FLOAT arrays.

The code line which I have posted was just an example. And it does not
make any difference whether I use mine or yours.

And in either case the error does not appear in IDL 8.2.1.

Thanks

Karlo



Am 26.03.2013 17:44, schrieb Fabien:>
> The error comes because your are putting a NaN float in an integer
> array. Try:
>
> p = PLOT([1.,2,3,4,!VALUES.F_NAN,6,7,8,9])
>
> cheers,
>
> Fab
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A Healthy Alternative to Takeaway Regret
Next Topic: cursor command

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

Current Time: Thu Oct 09 15:20:51 PDT 2025

Total time taken to generate the page: 1.43803 seconds