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

Home » Public Forums » archive » Re: Teaching an Elephant to Dance
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: Teaching an Elephant to Dance [message #77567 is a reply to message #77565] Tue, 13 September 2011 13:01 Go to previous messageGo to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On 9/12/2011 11:50 AM, David Fanning wrote:
>
> OK, now, you have this line of code with a comment:
>
> rgb_indices=bytscl(indgen(4))) ; this is a bug in 8.1
>
> Can you explain what this particular bug is? Or, provide
> a reference? I've come to the conclusion that this keyword
> doesn't work "correctly," but I haven't yet figured out
> what is wrong with it.

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."

:D <-- (that's a big smile)

mp
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: More Function Graphics Confusion
Next Topic: Re: Trouble exporting vector .eps file from ivolume

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

Current Time: Wed Oct 08 19:33:03 PDT 2025

Total time taken to generate the page: 0.00416 seconds