WXP version 5
Resource Reference

Resource: color_front

Resource color_front
Command Line -cofr=[value:]color[:attribute...],[value:]color[:attribute...],...
Environment Variable wxpclrfront
Default Value blue:wi=2, red:wi=2, blue:wi=3, red:wi=3, magenta:wi=3, brown:wi=3:st=dsh, red

This resource is used to specify a list of colors and attributes for front plotting. Multiple values are specified each representing a different type of front or pressure system:

Index Type Description Default
1 High High pressure center blue:wi=2
2 Low Low pressure center red:wi=2
3 Cold Cold fronts blue:wi=3
4 Warm Warm fronts red:wi=3
5 Occluded Occluded fronts magenta:wi=3
6 Trofs Troughs brown:wi=3:st=dsh
7 Trop Tropical data red

The color is specified first and represents the color name from the color table (see color_table resource).  The attributes are the following.  Multiple attributes can be specified if separated by a colon ":".

Attribute Description
co=color Specifies the color.  This is the color name from the color table.  If this is the first attribute, the "co=" may be omitted.
wi=width Specifies the width of lines.  This includes lines used in text and markers. The default value is 1.0.
st=style Specifies the style of lines.  Possible values are:
  • sol - solid lines (number 1)
  • dsh - dashed lines (number 2)
  • lsdsh - long short dashed lines (number 3)
  • llsdsh - long, long, short dashed lines (number 4)
  • dot - dotted lines (number 5)
  • # - a number corresponding to the above styles
fo=font Specifies the font number.  See the font_list resource.
fi=fill
fp=fill
Specifies the fill pattern. Possible values are:
  • sol - solid fill (number 0)
  • st - stippled fill (number 1)
  • ost - open stippled (number 2)
  • rst - random stipple (number 3)
  • lst - large stipple (number 4)
  • vln or || - vertical lines (number 5)
  • drl or // - diagonal lines moving to upper right (number 6)
  • dlr or \\ - diagonal lines moving to lower right (number 7)
  • hln or -- - horizontal lines (number 8)
  • hat or XX - hatched lines (number 9)
  • 0% - 0 % fill (number 10)
  • 1% - 11% fill (number 11)
  • 2% - 22% fill (number 12)
  • 3% - 33% fill (number 13)
  • 4% - 44% fill (number 14)
  • 5% - 55% fill (number 15)
  • 6% - 66% fill (number 16)
  • 7% - 77% fill (number 17)
  • 8% - 88% fill (number 18)
  • 9% - 100 % fill (number 19)
  • ## - a number associated with the above patterns
sc=scale
hi=height
Specifies the scale factor.  For text, this is the text height. For markers, this is the size of the marker. The default value is 1.0.
te=expan Specifies the text expansion factor. This controls how wide text is plotted. An expansion factor greater than 1 results in fat text. A value less than 1 results in thin text. The default value is 1.0.

Each of these can be specified with single characters (backward compatible with version  4). For example "w1.0" can be used for width, "h1.0" can be used for height, "s3" can be used for style, "f8" can be used for fill pattern, "t2" can be used for font, and "e1.0" can used for text expansion.


Last updated July 30, 1998