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.
Lodovica Illari <address@hidden> asked: > <Question> > I would like to produce gemapk gif images with a white background instead > of black. > </Question> Lodovica, There are several ways to set the background color for the GF and XW drivers: 1) You can run "gpcolor" and set COLORS=101=white to set the background color number 101 to white (or any color). 2) If you are running ntl, so that the shared color map is installed, launch the "ncolor" application (GEMPAK 5.6) from ntl and click on the first color box(#0) and configure the color. If you aren't running GEMPAK 5.6 which has ncolor, you can do the same thing with the ntrans color editor at the bottom of that application. If you are using "ntl" which installs the shared color map, then all programs will inherit the background color you set. 3) If you are not running ntl...typically, if you are generating GIF images to a virtual X display instead of a user console.... You can copy the $GEMTBL/colors/coltbl.xwp (coltbl.xw prior to GEMPAK 5.6) to the local working directory and modify the file so that the first color entry is white instead of black, eg !Color name Abrev Red Green Blue X color name WHITE WHI 255 255 255 white Steve Chiswell Unidata User Support