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 CharacterDescription
rred
ggreen
bblue
yyellow
kblack
mmagenta
ccyan
wwhite

Line Style

Property string characters to set the line style:

Property String CharacterDescription
_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 CharacterDescription
ssquare
ddiamond
^triangle
ocircle
xcross
+plus sign
*star
vdownward triangle
nno symbol
Sfilled square
Dfilled diamond
Ofilled circle
Number following marker gives marker size

Axis Options

Property string characters to select the plot axis:

Plotting Axis Options
Property String CharacterDescription
<place series on left-hand axis
>place series on right-hand axis

Start typing and press Enter to search