This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Steve, There is a way to override the default table using the environmental variable: GEMCOLTBL to specify an alternate color table, such as: setenv GEMCOLTBL coltbl.ramp (You probably have my $GEMTBL/colors/coltbl.ramp which is an example of a green through yellow color ramp I used for some precipitable water plots). Setting an alternate color table works if you are not running "ntl" on the X server you are drawing to (eg, if you have xvfb for scripts to generate their gifs to, then this works great...otherwise, ntl on your desktop provides the shared colormap and the program does not even read the color table). Alternatively, you can set you script to use gpcolor and define your colors in you script. Steve Chiswell Unidata User Support On Tue, 7 Dec 1999, Steven L. Mullen wrote: > Chiz, > > Is there simple way to direct the xw/gf driver > to different color tables other than the default > one, e.g. in a simple manner similar to setting > LUTFIL=, when running a gdplot script? I > have spent most of the afternoon reading > the archived email and did not finding > anything that seemed to fit the bill > > Thanks for bearing with me, > Steve > > -- > ------------------------------------------------------- > {} Steven L. Mullen > {} {} Dept. of Atmospheric Sciences > {} {} {} University of Arizona > {} {} {} 1118 E. 4th St. > {}{}{} PO Box 210081 > {} Tucson, Arizona 85721-0081 > {} Tel:(520) 621-6842 > {} Fax:(520) 621-6833 > {} Email: address@hidden > ------------------------------------------------------- > > >