[Thread Prev][Thread Next][Index]

FW: Discontinuous color table...




 I use a slightly different one that I really like.


   0   0   0  40
  20   0   0 100
  45 100 100 100
  55 100 100 100
  80 100   0  00
100   40   0   0

It starts with a blackish blue, goes to a saturated blue, then
to white for the middle ten percent, goes from light pink to
saturated red, then desaturates for a dark blood-red.

Paul Farrar

-----Original Message-----

From: strandwg@ucar.edu
To: Billy Kessler
Cc: Ferret Users Mailing List
Sent: 12/16/02 3:04 PM
Subject: Re: Discontinuous color table...

> There are probably more elegant solutions, but as long as you
> leave the central value of the color table white, it should
> always be as you want. For instance, I use the following blue-
> white-red palette:
> 
>  0   20   20  100
> 45   95   95   95
> 55   95   95   95
> 100 100   20   20
> 
> Note that the central 10% of the color range is white (actually
> very light gray, you could make it white by changing all the 95's
> to 100's).
> 
> Then I would fill:
> 
> fill/lev=(-3,3,1,-1)del(0) variable
> 
> This would leave the range between -1 and 1 white. Negative values
> would shade from dark to light blue, then positive values from light
> to dark red. If you then wanted to have a zero contour line:
> 
> contour/over/lev=(-3,3,1,-1) variable

This did the trick. Thanks, Billy!
--
/\        Gary Strand (303) 497-1336                               NCAR
CG2260
  \_][    www.cgd.ucar.edu/ccr/strandwg                   3080 Center
Green Dr
      \___strandwg@ucar.edu                      Boulder, Colorado, USA
80301


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement