The color fill resource allows a great deal of tailoring of contour plots. The color fill values, colors and attributes especially for large lists can be cumbersome specified on the command line. Therefore, these resources can be specified in a color fill file. The parameters in this file are the same as those listed in the color_fill resource but the multiple parameters are listed on separate lines.
The syntax for each line is:
[value:]color[:attrib]
[value:]color[:attrib]
...
Where:
| Attribute | Description |
| 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:
|
| fo=font | Specifies the font name. See the font_list resource. |
| fi=fill fp=fill |
Specifies the fill pattern. Possible values are:
|
| 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. |
For example:
0:white 10:red 30:blue 100:green
Specifies to contour white all areas running from values 0 to 10, red from 10 to 30, green from 30 to 100 and all values above 100 as green. The values less than 0 are not contoured.
0:white:st=2 10:red:wi=3 30:blue:fp=14:st=3 100:green:fp=16
For color fill contours, the attributes would use fill pattern 14 for the blue areas and fill pattern 16 for the green areas.
Here is a sample prec.cfl file:
.01:DDMagenta .05:DMagenta .1:MMagenta .175:BMagenta .25:Blue .375:LBlue .5:Green .75:LGreen 1:Brown 1.5:Yellow 2:Red 3:Lred 4:LGray
For further information about WXP, email technical-support@weather.unisys.com
Last updated by Dan Vietor on August 10, 1998