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

20020221: sfmap

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: 20020221: sfmap
  • Date: Thu, 21 Feb 2002 11:04:48 -0700

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
>