Next: Multiplot Options, Previous: Plot Options, Up: graph Invocation
The following options affect the way in which individual datasets are read from files, and drawn as part of a plot. They should appear on the command line before the file containing the datasets whose reading or rendering they will affect. They may appear more than once on a command line, if more than one file is to be read.
The following three options affect the way in which datasets are read from files.
gnuplot
plotting program.
FLT_MAX
, which is the largest possible
single precision floating point number. On most machines this is
approximately 3.4x10^38.
DBL_MAX
, which is the largest possible
double precision floating point number. On most machines this is
approximately 1.8x10^308.
INT_MAX
,
which is the largest possible integer. On most machines this is
2^31-1.
The following options affect the way in which individual datasets are drawn as part of a plot. These options set the six `attributes' (symbol type, symbol font, linemode, line thickness, fill fraction, and color/monochrome) that each dataset has.
Thereafter (i.e., for line_mode greater than 5) the sequence of five linemodes repeats. So besides linemode #0, there are a total of five distinct monochrome linemodes. If the dataset is being rendered in color (as may be requested with the ‘-C’ option), the interpretation of linemodes #1 through #5 is instead
Linemodes #6 through #10 use the same five colors, but are dotted;
linemodes #11 through #15 are dotdashed; linemodes #16 through #20 are
shortdashed; and linemodes #21 through #25 are longdashed. So besides
linemode #0, there are a total of 25 distinct colored linemodes. A negative linemode indicates that no line should be drawn, but that the
marker symbol, if any (see below), should be in the color of the
corresponding positive linemode.
If you use the ‘-S’ option, you would usually also use the ‘-m’ option, to request that the symbols be drawn without any line connecting them. By specifying a negative argument to ‘-m’ (a `negative linemode'), you may obtain colored symbols.
The following table lists the first few symbols (by convention, symbol #0 means no symbol at all).
Marker symbols 0...31 are furnished by the GNU libplot
graphics library. See Marker Symbols. Symbol numbers greater than
or equal to 32 are interpreted as characters in a symbol font, which
can be set with the ‘--symbol-font-name’ option (see below).
libplot
graphics library should be used.
This is usually 1/850 times the size of the display, although if
‘-T X’, ‘-T png’, ‘-T pnm’, or ‘-T gif’ is
specified, it is zero. By convention, a zero-thickness line is the
thinnest line that can be drawn. This is the case in all output
formats. Note, however, that the drawing editors idraw
and
xfig
treat zero-thickness lines as invisible.
graph -T tek
and graph -T regis
do not support drawing
lines with other than a default thickness, and graph -T hpgl
does
not support doing so if the environment variable HPGL_VERSION
is set to a value less than "2" (the default).
If the polygon intersects itself, the `even-odd fill rule' will normally be used to determine which points are inside rather than outside, i.e., to determine which portions of the polygon should be shaded. The even-odd fill rule is explained in the Postscript Language Reference Manual.
The ‘-q’ option has no effect on graph -T tek
, and it is
only partly effective in graph -T hpgl
if the environment
variable HPGL_VERSION
is set to a value less than "2" (the
default).
-T tek
is specified, in which case it is "HersheySerif".)
Set the symbol font, from which marker symbols numbered 32 and higher
are selected, to be symbol_font_name. Font names are
case-insensitive. If the specified font is not available, the
default font will be used. Which fonts are available depends on which
‘-T’ option is used. For example, if the ‘-T pcl’ or ‘-T
hpgl’ option is used then normally the Wingdings font, which is an
alternative source of symbols, becomes available. For a list of all
fonts, see Text Fonts. The plotfont
utility will produce a
character map of any available font. See plotfont.