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.
David, The reason that your NC meta file does not have a white background in Ntrans even after you set color 101 to white in your application which produced the nc file is that the meta file is not a picture like a gif file. Instead, it is the drawing commands that produce the picture. Since the background is not "drawn", only the lines, text and color fills are part of the nc metafile. If you want the background color in Ntrans to be white, the simplest way to do this after launching ntrans is to "click" on the "Active Colors:" number 0 at the bottom of the plot. This is the background color. Clicking on the color tile at the bottom of the plot will pop up a color selection widget. Click on the white "31" box in the color pallete and that will change color 0 to white. Then, click on the "Save Color" button and then "close". Steve Chiswell Unidata User Support >From: David Ovens <address@hidden> >Organization: . >Keywords: 199910291603.KAA12700 >Hello, > >I just totally remade all of our meta files for Ntrans using a white >background instead of a black one. I ran gpcolor first and set >101=white. Now, I was hoping that when I started Ntrans and selected >the appropriate meta file that it would switch automatically to a >white background, unfortunately it did not -- the background is still >black. > >I know how to select color 0 and change it from black to white inside >Ntrans, giving me the picture I want, but is there any way to change >the default background color for ntrans from black to white, or, >better yet, have Ntrans figure out the background color from the meta >file? > >I also know that if I run gpcolor, set 101=white, quit it, and then >start up Ntrans that this works, but I prefer to launch items from >Ntl, and I don't necessarily want to change the background color for >garp, nsharp, etc. > >If it is not possible to do what I want, could you tell me how to >permanently change the default background for all gempak programs from >black to white? > >Thank you, > > >David >-- > >David Ovens e-mail: address@hidden >(206) 685-8108 >Dept of Atmospheric Sciences, Box 351640 >University of Washington >Seattle, WA 98195 >