Resource: color_data
Resource | color_data |
---|---|
Overview | Specifies the color for plotted data. |
Command Line | -cod=color[:attribute...] |
Environment Variable | wxpclrdata |
Possible Values | |
Default Value | green (for most programs) |
This resource is used to specify the color and attributes for plotted data. The color is specified first and represents the color name from the color table (see resrc: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. |
fi=fill fp=fill |
Specifies the fill pattern. Possible values are:
|
fo=font | Specifies the font name to use in text. See the resrc:font_list resource for available font names. |
sh=width | Specifies the width of the drop shadow to be applied to plotted items. The default is none. A typical value is 2 or 3. |
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. |
st=style | Specifies the style of lines. Possible values are:
|
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. |
we=width | Specifies the width of lines used in text (software fonts) and markers. The default value is 1.0. |
wi=width | Specifies the width of lines. The default value is 1.0. |
Last updated October 2013