cbar.gs & cbarn.gs
Diane.Stokes at NOAA.GOV
Sun Jan 30 20:16:54 EST 2005
I've attached a modified version of cbarn (cbarnskip.gs). 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).
Environmental Modeling Center
----- Original Message -----
From: Daniel Leins <Daniel.Leins at NOAA.GOV>
Date: Sunday, January 30, 2005 6:49 pm
Subject: cbar.gs & cbarn.gs
> 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?
> Dan Leins
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5492 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20050130/9ab7b632/attachment.obj
More information about the gradsusr