Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ graph(VI) — UNIX 6th Edition 1.3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

spline (VI)

plot (VI)

GRAPH(VI)  −  PWB/UNIX 2/20/75

NAME

graph − draw a graph

SYNOPSIS

graph [ option ] ... | plotter

DESCRIPTION

Graph with no options takes pairs of numbers from the standard input as abscissas and ordinates of a graph.  The graph is written on the standard output to be piped to the plotter program for a particular device; see plot (VI).  These plotters exist: gsip, for the GSI and other Diablo terminals; tek, for the Tektronix 4014 terminal; and vt0 for the on-line storage scope.  The following options are recognized, each as a separate argument.

aSupply abscissas automatically (they are missing from the input); spacing is given by the next argument, or is assumed to be 1 if next argument is not a number.  A second optional argument is the starting point for the automatic abscissa. 

cPlace character string given by next argument at each point. 

dOmit connections between points. (Disconnect.) 

gnGrid style:

n=0, no grid

n=1, axes only

n=2, complete grid (default). 

sSave screen, don’t erase before plotting. 

xNext 1 (or 2) arguments are lower (and upper) x limits. 

yNext 1 (or 2) arguments are lower (and upper) y limits. 

hNext argument is fraction of space for height

wNext argument is fraction of space for width. 

rNext argument is fraction of space to move right before plotting. 

uNext argument is fraction of space to move up before plotting. 

Points are connected by straight line segments in the order they appear in input.  If a specified lower limit exceeds the upper limit, or if the automatic increment is negative, the graph is plotted upside down.  Automatic abscissas begin with the lower x limit, or with 0 if no limit is specified.  Grid lines and automatically determined limits fall on round values, however roundness may be subverted by giving an inappropriately rounded lower limit.  Plotting symbols specified by c are placed so that a small initial letter, such as + o x, will fall approximately on the plotting point. 

SEE ALSO

spline (VI), plot (VI)

BUGS

A limit of 1000 points is enforced silently. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026