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

Home » Public Forums » archive » Color Data with Colorbar OOB Colors
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: Color Data with Colorbar OOB Colors [message #86786 is a reply to message #86785] Tue, 03 December 2013 14:19 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Morgan Silverman writes:

> I'm trying to color a selection of the data I've plotted but am having a hard time getting the color bar and data colors to match correctly. I've plotted data that has altitudes from 0-5 km but only want to have a range of colors from 0-2 km and have everything above 2 km the same last color bar value (color 256). I've created a color bar with 256 colors from 0-2, but I can't seem to get this to match the colors of the data in the figure. Any suggestions

Are you by any chance talking about a filled contour plot? If so, have
you read this article?

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

If not, maybe you could get us a better idea of what you are doing so we
would have basis for answering your question. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Resample (neighborhood averaging) a 3D array with missing data
Next Topic: xmargin and ymargin keywords ignored in cgplot

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

Current Time: Sun Oct 12 03:53:42 PDT 2025

Total time taken to generate the page: 0.24198 seconds