[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20000228: gray shades with xw and gf



>From: address@hidden (Chris Hennon)
>Organization: .
>Keywords: 200002282059.NAA15110

>Steve -
>
>Is there a way to contour fill with gray shades rather than colors
>for the xw and gf devices?  
>
>Chris
>
>================================================
>| Chris Hennon        Ohio State University   |
>| Tropical Meteorology      address@hidden   |
>|                                              |
>| Dept of Geography   Office: 1155 Derby Hall  |
>| 1036 Derby Hall     Phone : (614) 292-2704   |
>| Columbus, OH 43210  Fax   : (614) 292-6213   |
>================================================
>


Chris,

You can either define the individual color indicies with new rgb values,
similar to the way you define the background color 101.

Or, you can use the environmenmtal variable GEMCOLTBL to use an alternative
color table as explained in:
http://www.unidata.ucar.edu/glimpse/gempak/3245

You can only override the color table if ntl isn't controling the shared 
colormap
(if ntl is running on the display, the color table is ignored in the device 
driver).
This generally is not a problem if you are generating gifs to a virtual X window
where ntl isn't going to be in use.


Stebe Chiswell