Resource: color_cgrid
Resource | color_grid |
Command Line | -cogr=color[:attribute...] |
Environment Variable | wxpclrgrid |
Default Value | red (for most programs) |
This resource is used to specify the color and attributes for the grid used in color fill contours. 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:
|
fo=font | Specifies the font number. 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. |
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