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

Home » Public Forums » archive » Re: color shift between 2 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
Re: color shift between 2 contour plots? [message #58129] Tue, 22 January 2008 11:49 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
WRC2008@gmail.com writes:

> In my previous posts, I have asked some questions on how to create
> blue-white-red color table. This was answered by David, and now I use
> the following description to create this table:
>
> CTLoad, 1, NCOLORS=3D128
> CTLoad, 3, /REVERSE, NCOLORS=3D128, BOTTOM=3D128
>
> Maybe smaller question here: Is the above possible to create the same
> colors, but without the white in the middle?

ctload, 1, clip=[10,235], ncolors=128
ctload, 3, clip=[10, 235], /reverse, ncolors=128, bottom=128

> Now, the odd thing is, that the colors in the second plot are shifted
> one value compared to the first contourplot, although I use the same
> number of levels for both plots.

You don't want to use FILL, with map projections you HAVE to
use CELL_FILL, or you have these color problems:

http://www.dfanning.com/color_tips/fill_colors.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: stop behavior
Next Topic: Re: idl 7.0 eclipse plugins and updates

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

Current Time: Wed Oct 08 17:03:30 PDT 2025

Total time taken to generate the page: 0.00438 seconds