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

Re: 20020221: sfmap




As an example of the use of COLOR coded MARK values in sfmap:

 SFFILE   = metar
 SFPARM   = xvfr;mark:2:.6:1
 COLORS   = 0;(1;2;3/2;5;6;1/xvfr/U)


Steve Chiswell
Unidata User Support


On Thu, 21 Feb 2002, Steve Chiswell wrote:

> Robert,
>
> Yes, you can include "MARK" as one of the parameters in the SFPARM list,
> and define the color of MARK based on a PARM (eg XVFR) in the SFPARM list. 
> From
> the online help for COLORS:
>
>       To color-code any parameter, replace its corresponding color number
>       in the COLORS list with the form:
>
>         (v1;v2;...;vN-1/c1;c2;...;cN/PARM/E)   or
>         (v1-vN-1-vInc/c1-cN-cInc/PARM/E)       or
>         a combination of a list and a range
>
>       where the v's are parameter values, the c's are color numbers, and
>       PARM is the parameter whose value determines the color.
>
>
> The syntax for MARK in the sfparm list is MARK:markernum/size/width
> You can set the color for XVFR to 0 so that only the marker is plotted
> with the color code, and the value of XVFR isn't.
>
> Let me know if you need more info.
>
> Steve Chiswell
> Unidata User Support
>
>
> On Thu, 21 Feb 2002, Robert Mullenax wrote:
>
> >
> > I would like to be able to use sfmap to plot color coded markers (circles)
> > for the differerent levels of the xvfr parameter.  I have been able to plot
> > color
> > coded (0-3 using rygb) values of this parameter, but is there a way to plot
> > circles instead of the value itself.   Am I missing something?
> >
> > Thanks,
> > Robert Mullenax
> >
> > Robert Mullenax
> > Weather Systems Administrator
> > Universal Weather and Aviation
> >
>