Content-type: text/html Man page of graph

graph

Section: User Commands (1)
Index Return to Main Contents
 

NAME

graph - Draws a graph.  

SYNOPSIS

graph [option...]

Note

This command will be retired in a future release.


 

OPTIONS

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 automatic 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 argument) 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 argument) as the fraction of space to right before plotting. Saves the screen before plotting. (No erase) Transposes the vertical and horizontal 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 standard 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 option is present.

If a specified lower limit exceeds the upper limit, the axis is reversed.
 

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.


 

Index

NAME
SYNOPSIS
OPTIONS
DESCRIPTION
RESTRICTIONS

This document was created by man2html, using the manual pages.
Time: 02:42:44 GMT, October 02, 2010