Re: Teaching an Elephant to Dance [message #77583 is a reply to message #77582] |
Mon, 12 September 2011 10:50   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
> Ack! Yes, I made a mistake. Sorry about that. Lesson: I shouldn't post
> to the newsgroup while distracted. Counting the colors with N_ELEMENTS
> was the problem.
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.
I do note that the fuzzy contour annotations in the upper
right hand corner of the plot in my article have also
gone away in this version of the program. Do you think
that is a result of specifying the upper level as 1.0?
Why are you making a point of specifying the upper contour
level as the maximum value of the filled contour data? Should
the lower and upper "bounds" of the contour data always
be included in the contour levels? Is so, why doesn't this
happen when you specify N_LEVELS?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|