Re: color shift between 2 contour plots? [message #58129] |
Tue, 22 January 2008 11:49  |
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.")
|
|
|