The GNU libplot
library supports a standard set of marker
symbols, numbered 0 through 31. These are the symbols that the
graph
program will plot at each point of a dataset, if the
`-S' option is used. The list is as follows (by convention, marker
symbol #0 means no symbol at all).
The interpretation of marker symbols 1 through 5 is the same as in the well known GKS (Graphical Kernel System).
Symbols 32 and up are interpreted as characters in a certain text font.
For libplot
, it is the current font. For graph
, it
is the font selected with the `--symbol-font-name' option. By
default, this is the ZapfDingbats font except in graph -T pnm
,
graph -T gif
, graph -T pcl
, graph -T hpgl
and
graph -T tek
. These variants of graph
normally have no
access to Postscript fonts, so they use the HersheySerif font instead.
Many of the characters in the ZapfDingbats font are suitable for use as marker symbols. For example, character #74 is the Texas star. Doing
echo 0 0 1 2 2 1 3 2 4 0 | graph -T ps -m 0 -S 74 0.1 > plot.ps
will produce a Postscript plot consisting of five data points, not joined by line segments. Each data point will be marked by a Texas star, of a large font size (0.1 times the width of the plotting box).
If you are using graph -T pcl
or graph -T hpgl
and wish to
use font characters as marker symbols, you should consider using the
Wingdings font, which is available when producing PCL 5 or HP-GL/2
output. Doing
echo 0 0 1 2 2 1 3 2 4 0 | graph -T pcl -m 0 --symbol-font Wingdings -S 181 0.1 > plot.pcl
will produce a PCL 5 plot that is similar to the preceding Postscript plot. The Wingdings font has the Texas star in location #181.
Go to the first, previous, next, last section, table of contents.