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

Home » Public Forums » archive » Using OOB Colors with Filled Contour Plots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Using OOB Colors with Filled Contour Plots [message #79977] Fri, 20 April 2012 11:16 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Several months ago I introduced the notion of out-of-bounds
colors into cgColorbar. These can be set with the OOB_LOW
and OOB_HIGH keywords.

Since then several people (including me!) have been
confused over how to use the out-of-bounds colors with
filled contour plots. I had a reason to have another
go at this problem today, and I have written an article
that I hope will shed some light on this difficult
topic.

The problem really is a fundamental one of how the IDL
Contour command decides which contour "level" to color.
You have to do a few fancy dance steps to work around
this problem and get consistent results with both the
FILL and CELL_FILL keywords.

I think the article will make it easier for people to
set up these results in a more consistent way. You
can find the article here:

http://www.idlcoyote.com/cg_tips/oobcontour.php

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.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: strange behaviour of bytscl by large arrays
Next Topic: Re: strange behaviour of bytscl by large arrays

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

Current Time: Fri Oct 10 04:32:32 PDT 2025

Total time taken to generate the page: 0.63996 seconds