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

RE: color-coding plotted grid data

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.


  • Subject: RE: color-coding plotted grid data
  • Date: Wed, 1 Dec 2004 20:40:54 -0600

 Thanks for the suggestion.  That may just do the trick!
If the subject ever comes up, that would be nice addition
to the grid programs (the SFPARM ability).

Thanks again for the suggestion.

Robert Mullenax



-----Original Message-----
From: Steve Chiswell
To: Robert Mullenax
Cc: 'address@hidden'; GEMPAK support
Sent: 12/1/2004 6:21 PM
Subject: Re: color-coding plotted grid data

Robert,

The color coding by SFPARM value is not available in grid programs.

However, in GDPLOT2, you can do multiple plots in different colors for
TYPE=P.

For example:
GDFILE   = eta
GLEVEL   = 0
GVCORD   = none
TYPE     = p
GDPFUN   = emsl ! emsl ! emsl ! emsl ! emsl ! emsl
COLORS   = 30 ! 24 ! 21 ! 18 ! 15 ! 11
CINT     = <mailer line wrap here> 
//1024 ! /1024/1028 ! /1028/1032 ! /1032/1036 ! /1036/1040 ! /1040/

Just a suggestion....

Steve Chiswell
Unidata User SUpport








On Wed, 2004-12-01 at 16:15, Robert Mullenax wrote:
> It seems like I should be able to do this, but I can't seem to do it.
> I would like to plot grid values (of model data) with gdmap
> (simple enough)..but color code the values.  For example, all values
> from 0-20 in blue, 20-40 in yellow..etc.  gdmap has the COLORS
> parameter so I have tried to use it like the sfmap example
> of color-coding values, but can't seem to make it work with gdmap.
> 
> Has anyone done this before?
> 
> Thanks,
> Robert Mullenax