Symbol Property Syntax
In Default Settings, symbol properties are specified using the syntax:
""SymSet" "FillColor" "LineColor" BitFlags Index Size"
Parameter |
Description |
SymSet |
SymSet is the symbol set or face name as it appears in the Symbol Properties. The name must be enclosed in double quotes. |
Fill Color |
Fill color is the RGBA color for the interior of the symbol. See Color List for details. |
Line Color |
Line color is the RGBA color for the line around the symbol. See Color List for details. |
Bit Flags |
Bit flags is no longer used and is only included for backward compatibility. In older versions of Surfer, the Bit Flags was used to indicate whether the symbol Line Color was used. In the current version the value should be set to 0. |
Index |
Index is the 0-based index of the symbol to use as it appears in the Symbol Properties dialog. This is entered as a number, and does not use double quotes. |
Size |
Size is the size of the symbol page units (inches or centimeters). This is entered as a number. |
Note that all items are enclosed in quote marks.
Example
This example shows a symbol with the following properties:
SymSet = "GSI Default Symbols"
Fill Color = "R255 G0 B0 A50" indicating a slightly transparent red
Line Color = "R0 G0 B255 A255" indicating a fully opaque blue
Bit Flags = 0
Index = 10
Size = 0.5 inches (or centimeters)
""GSI Default Symbols" "R255 G0 B0 A50" "R0 G0 B255 A255" 0 10 0.5"