Re: Teaching an Elephant to Dance [message #77565 is a reply to message #77563] |
Tue, 13 September 2011 13:07   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
> In 8.0, NG CONTOUR would automatically interpolate the indices of the
> chosen color table, just like DG CONTOUR. This was broken in 8.1. The
> workaround (which I've used above) is to use RGB_INDICES to tell CONTOUR
> to interpolate the color table indices. This is CR 62414 & it's fixed in
> 8.2.
>
>> [snip]
>> be included in the contour levels? Is so, why doesn't this
>> happen when you specify N_LEVELS?
>
> I don't know! I don't use N_LEVELS because a really good IDL
> programmer (with initials DF) taught me long ago to always calculate my
> contour levels, a corollary of Dave Stern's maxim, "know your data."
Oh, dear! I discovered this morning that if you set
N_LEVELS to one more than the number of levels you
want, it will work perfectly! Now, I realize that this
is probably because it is broken. In IDL 8.2 it will
be fixed and probably won't work at all again.
It's a topsy-turvy world in function graphics! ;-)
Cheers,
David
--
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.")
|
|
|