WXP version 5
File Reference

Color Fill File (.cfl)

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.

FORMAT

The syntax for each line is:

[value:]color[:attrib]
[value:]color[:attrib]
...

Where:

EXAMPLES

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     

SEE ALSO


Last updated August 10, 1998