Syntax: |
SET PLOTSYMBOL n
|
Default: |
PLOTSYMBOL = 0
|
PLOTSYMBOL
controls which plotting symbols to use when the
GRAPH
command is entered.
The parameter n
can be either a scalar or a vector.
If n
is a scalar, every data point will have the same plotting symbol.
If n
is a vector, symbol n[i]
will be drawn at
data point (x[i],y[i])
. In this case, the length of
n
must be the same as the lengths of x
and y
.
GET PLOTSYMBOL
returns the plotting symbol value or array. The type of output variable that
is returned depends on the type of variable used in the
SET PLOTSYMBOL
command.
Symbols
The symbols that will be plotted at the point (x[i],y[i])
are dependent on
the value of PLOTSYMBOL
and are shown below.
PLOTSYMBOL | meaning |
0 | no symbol at (x[i],y[i]) , but connect that
point to previous point (x[i-1],y[i-1]) |
> 0 | PLOTSYMBOL at
(x[i],y[i]) connected
to point previous point (x[i-1],y[i-1]) |
< 0 | PLOTSYMBOL at
(x[i],y[i]) not
connected to previous point (x[i-1],y[i-1]) |
There are 18 special plotting symbols. These symbols (except for symbol 12) are centred at the data points. Note that symbol 11 is a dot, and symbol 12 is an arrow starting at the data point while symbol 13 is an arrow centred at the data point.
The size of the plotting symbols can be controlled with the
PLOTSYMBOLSIZE
characteristic, the
angle with the PLOTSYMBOLANGLE
characteristic,
the color with the PLOTSYMBOLCOLOR
characteristic,
and the line width with the PLOTSYMBOLLINEWIDTH
characteristic.