graph - draw a graph
graph [-a spacing [start]] [-b] [-c string] [-g gridstyle] [-l label] [-m connectmode] [-s] [-x [l] lower [ upper [spacing]]] [-y [l] lower [upper [spacing]]] [-h fraction] [-w fraction] [-r fraction] [-u fraction] [-t] ...
graph with no options takes pairs of numbers from the standard input as abscissaes and ordinates of a graph. Successive points are connected by straight lines. The standard output from graph contains plotting instructions suitable for input to plot(1B) or to the command lpr -g (see lpr(1B)).
If the coordinates of a point are followed by a nonnumeric string, that string is printed as a label beginning on the point. Labels may be surrounded with quotes "...", in which case they may be empty or contain blanks and numbers; labels never contain NEWLINE characters.
A legend indicating grid range is produced with a grid unless the -s option is present.
Each option is recognized as a separate argument. If a specified lower limit exceeds the upper limit, the axis is reversed.
-a spacing[ start ]
-b
-c string
-g gridstyle
-l label
-m connectmode
-s
-x [ l ] lower [ upper [ spacing ] ]
-y [ l ] lower [ upper [ spacing ] ]
-h fraction
-w fraction
-r fraction
-u fraction
-t
See attributes(5) for descriptions of the following attributes:
|
lpr(1B), plot(1B), spline(1), plot(3PLOT), attributes(5)
graph 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 may not be reversed.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |