Manual Page Result
0
Command: graph | Section: 1 | Source: Digital UNIX | File: graph.1.gz
graph(1) General Commands Manual graph(1)
NAME
graph - Draws a graph.
SYNOPSIS
graph [flag ...]
Note
This command will be retired in a future release.
FLAGS
Supplies abscissas automatically and uses the next two arguments to set
the spacing and starting point. Spacing is given by the next argument
(default 1). A second optional argument is the starting point for au-
tomatic abscissas (default 0 or the lower limit given by -x). Breaks
the graph after each label in the input. Uses the specified string
(next argument) as the label. Uses the specified number (next argu-
ment) in setting up the grid style: 0 (no grid), 1 (frame with ticks),
and 2 (full grid). The default is 2. Uses the specified number (next
argument) as the fraction of space for height. Uses the specified
string (next argument) as the graph label. Uses the specified number
(next argument) in setting up the line mode: 0 (disconnected) and 1
(connected). The default is 1. Uses the specified number (next argu-
ment) as the fraction of space to right before plotting. Saves the
screen before plotting. (No erase) Transposes the vertical and hori-
zontal axes. Uses the specified number (next argument) as the fraction
of space to move up before plotting. Uses the specified number (next
argument) as the fraction of space for width. Determines the x axis
logarithmically. The next two arguments after the l argument determine
lower and upper x limits respectively. The third argument determines
grid spacing on x axis. Determines the y axis logarithmically. The
next two arguments after the l argument determine lower and upper y
limits respectively. The third argument determines grid spacing on y
axis.
DESCRIPTION
The graph command with no options takes pairs of numbers from the stan-
dard input as abscissas and ordinates of a graph. Successive points
are connected by straight lines. The graph is encoded on the standard
output for display by the plot filters.
If the coordinates of a point are followed by a nonnumeric string, that
string is printed as a label beginning on the point. Labels can be
surrounded with quotation marks ("..."), in which case they can be
empty or contain blanks and numbers. Labels never contain new lines.
A legend indicating the grid range is produced with a grid unless the
-s flag is present.
If a specified lower limit exceeds the upper limit, the axis is re-
versed.
RESTRICTIONS
The graph command stores all points internally and drops those for
which there is no room.
Segments that run out of bounds are dropped, not windowed.
Logarithmic axes cannot be reversed. delim off
graph(1)