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 #83723 is a reply to message #83720] Tue, 26 March 2013 11:21 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 3/26/13 11:05 AM, Karlo Janos wrote:
> 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
>

No error appears for me on 8.2.2:

IDL> print, !version
{ x86_64 darwin unix Mac OS X 8.2.2 Jan 23 2013 64 64}
IDL> p = PLOT([1,2,3,4,!VALUES.F_NAN,6,7,8,9])
% Loaded DLM: PNG.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[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: Wed Oct 08 17:27:56 PDT 2025

Total time taken to generate the page: 0.00406 seconds