Property strings are used to set the desired property as a combination of line and marker styles and size. A typical property string could be r-2s3
. This sets the line colour to red (r) and dashed (-) with a width of 2. It sets square markers (s) with size of 3.
All parts of the property string are optional. If a value isn’t supplied, the related property on the plot remains unchanged.
Property strings consist of characters from the tables below.
Color
Colours apply to both the line style (if any) and marker shape. It isn’t possible to set different colours for markers and lines using serial commands.
Property String Character | Description |
---|---|
r | red |
g | green |
b | blue |
y | yellow |
k | black |
m | magenta |
c | cyan |
w | white |
Line Style
Property string characters to set the line style:
Property String Character | Description |
---|---|
_ | solid line |
– | dashed line |
: | dotted line |
; | dash dot line |
% | dash dot dot line |
# | no line |
Number following line style gives line width |
Marker Style
Property string characters to set the marker style:
Property String Character | Description |
---|---|
s | square |
d | diamond |
^ | triangle |
o | circle |
x | cross |
+ | plus sign |
* | star |
v | downward triangle |
n | no symbol |
S | filled square |
D | filled diamond |
O | filled circle |
Number following marker gives marker size |
Axis Options
Property string characters to select the plot axis:
Property String Character | Description |
---|---|
< | place series on left-hand axis |
> | place series on right-hand axis |