[Thread Prev][Thread Next][Index]

Re: [ferret_users] Setting the limits of the colorbar

Hi Aisling,

To set the levels of the color bar, you need to use the "lev" qualifier, e.g.

fill/lev=(-20,20,4) my_var

will generate a color bar going from -20 to 20, in increments of 4. 

You can also set individual levels, e.g.

fill/lev=(-20)(-10,10,2)(20) my_var

which will give a color bar with -20 and 20 at the extremes, and -10 to 10, with increments of 2.

LOADS more information in the users guide:



On Jun 18, 2009, at 8:13 AM, Aisling Dolan wrote:

Hi Ferret users,

I've got a global temperature data set that has + and - temps in it.  I want to compare this with other temperature data sets for publication, but I need the colorbar to be set so it always has the same range (i.e. +20 to -20).  My data ranges from +15 to -18, but I need the colors show on all plots to mean exactly the same temperature. Is there any simple way of setting the colorbar/zaxis to do this?  My data is in the form of a netcdf array, not columns of ascii data.  

Any help would be much appreciated.


Paul Young

Chemistry and Climate Processes
Chemical Sciences Division
NOAA Earth System Research Laboratory
325 Broadway R/CSD8
Boulder CO 80305-3328

Tel:   +1 303-497-4711
Fax:   +1 303-497-5686

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement