Diane Stokes Diane.Stokes at NOAA.GOV
Sun Jan 30 20:16:54 EST 2005


I've attached a modified version of cbarn (  The first
optional argument is an increment value.  Eg, "cbarnskip 3" will print
the label for every third *level* (so, in your case, with a contour
interval of 2 degrees, you'd get a label every 6 degrees).

The other usual arguments are still available, just shifted by one.
(See the doc block).

   Best regards,
     Diane Stokes
     Environmental Modeling Center

----- Original Message -----
From: Daniel Leins <Daniel.Leins at NOAA.GOV>
Date: Sunday, January 30, 2005 6:49 pm
Subject: &

> All,
> I've made a contoured/shaded plot of temperatures across a given area,
> and now I'd like to add a color bar to depict what colors are
> associatedwith what temperatures.  I've been successful in getting
> cbar and cbarn
> to work, however, I'd like to know if there is a way to adapt these
> scripts to draw the color bar normally, but perhaps label every other
> color.  I've defined about 60 "custom" colors for use on this map, and
> it gets awfully crowded when it plots the values associated with
> each of
> these colors.  I have my colors defined every 2 degrees from -10
> to 110 F.
> Can anyone provide me with any insight?
> Thanks,
> Dan Leins

-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 5492 bytes
Desc: not available
Url : 

More information about the gradsusr mailing list