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

20010423: Meteogram with white background



>From: Harry Edmon <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200104231810.f3NIAoL09721

>How would you do a meteogram with black text on a white background?
>
>
>--
>Dr. Harry Edmon                        E-MAIL: address@hidden
>(206) 543-0547                         address@hidden
>Dept of Atmospheric Sciences   FAX:    (206) 543-0308
>University of Washington, Box 351640, Seattle, WA 98195-1640
>


Harry,

You can do this several ways:

1) If you have NTL running, launch ncolor and set the color 0 box to white.
   Use color 32 for lines which is black.

2) If you don't have ntl running on the display you are drawing to, such
   as if you were using the gf driver to a virtual display,
   Copy $GEMTBL/colors/coltbl.xwp to your working directory. Change the first 
   color in the list from Black to White. Use color 32 for black lines.
   When executing any program, the color table in the current working
   directory will override the $GEMTBL/colors file (unless the sharred color 
   map set up by NTL is in use).

3) Launch gpcolor, define: colors=101=white   (101 is the background color).
   Run gpcolor, then run sfgram.

Steve Chiswell