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

Home » Public Forums » archive » Re: Interesting Filled Contour Problem
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: Interesting Filled Contour Problem [message #79909 is a reply to message #79901] Mon, 16 April 2012 13:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>> Anyone who can explain that Min(data) thing will get an
>> automatic invite to the IDL Expert Programming Association
>> annual meeting this Fall.
>
> I should point out (for those of you who respond
> to incentives) that this is now a $250 value!

We have a winner, and from a MOST unexpected source!
Josh, a Technical Support Engineer at Excelis, has
correctly identified the problem as being caused
by NaNs in the original data set. When I do this:

data = data > 0

I apparently set the NaN values to zero, too.
(Not sure this is totally kosher, but it does
seem to work!)

Oddly, enough, the notion of NaNs got me thinking about
a problem I ran into with contour plots in my last
book, and a quick look-though found the note on page
161 that would have alerted me to the problem. Assuming
I had read the book, of course. :-)

All things come around again, I guess, and especially
as you get older. :-)

Thanks, Josh!

Cheers,

David

P.S. The location of your ticket is here: 8d8rw03893wkrh3w3lwr323l.
A secret courier will be in contact with you in the next week or
so to provide the decoder ring that will allow you to decode the
location. Don't tell anyone the location of the ticket or the dinner,
under pain of ..., well, just don't tell anyone. Lord knows if
word of this leaks out, we'll have to get special bouncers to
handle all the women who will want to come!



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: TOA (Time of Arrival)
Next Topic: Coyote's Guide to IDL Programming now in Armenian!

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

Current Time: Sun Oct 12 00:11:56 PDT 2025

Total time taken to generate the page: 0.24418 seconds