20060607: color tables in gdcntr

Megan,

The graphic programs allocate 32 colors defined in
$GEMTBL/colors/coltbl.xwp which you reference by index in
the parameters such as FLINE, COLORS, LINE. The image color tables may
define up to 95 colors (though many use fewer values) through the
$GEMTBL/luts tables.

You can modify a copy of coltbl.xwp in a local directory to
define the color RGB values that your FLINE indicies will
reference in gdcntr. Alternatively, you could use gpcolor
to define RGB values for a session.

When a new XW (or GF/GIF) device is started, it will use the
coltbl.xwp file in the local directory if it exists before looking in the $GEMTBL/colors directory. You can approximate the color LUT
for the grid contour fills though you will have to condense the
number of color ranges since the ir_upc2.tbl defines 95 color values.

Steve Chiswell
Unidata User Support


On Wed, 2006-06-07 at 10:43, Megan Gentry wrote:
I'd like to use an IR color table to display model cloud top temperatures
in gdcntr.  I've found the color table that GARP uses to plot IR data with
the ir_upc2 enhancement here...
gempak/tables/luts/ir_upc2.tbl
Is there a way to use this color table to plot model cloud top
temperatures in gdcntr?

Thanks,
Megan Gentry

----------------------------------------------------
Megan S. Gentry
Graduate Research Assistant, Forecasting Lab
Department of Marine, Earth and Atmospheric Sciences
North Carolina State University



  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: