Commit | Line | Data |
---|---|---|
53037b28 KT |
1 | .th PLOT I 6/4/73 |
2 | .sh NAME | |
3 | plot \*- make a graph | |
4 | .sh SYNOPSIS | |
5 | .bd plot | |
6 | [ option ] ... | |
7 | .sh DESCRIPTION | |
8 | .it Plot | |
9 | takes pairs of numbers from the | |
10 | standard input as abscissas and | |
11 | ordinates of a graph. | |
12 | The graph is plotted on the storage scope, /dev/vt0. | |
13 | .s3 | |
14 | The following options are recognized, | |
15 | each as a separate argument. | |
16 | .s3 | |
17 | .lp +5 5 | |
18 | \fBa\fR Supply abscissas automatically (they are missing from | |
19 | the input); spacing is given by the next | |
20 | argument, or is assumed to be 1 if next argument is not a number. | |
21 | .s3 | |
22 | .lp +5 5 | |
23 | \fBc\fR Place character string given by next argument | |
24 | at each point. | |
25 | .s3 | |
26 | .lp +5 5 | |
27 | \fBd\fR Omit connections between points. (Disconnect.) | |
28 | .s3 | |
29 | .lp +5 5 | |
30 | \fBg\fIn\fR Grid | |
31 | style: | |
32 | .lp +5 0 | |
33 | \fIn\fR=0, no grid | |
34 | .lp +5 0 | |
35 | \fIn\fR=1, axes only | |
36 | .lp +5 0 | |
37 | \fIn\fR=2, complete grid (default). | |
38 | .s3 | |
39 | .lp +5 5 | |
40 | \fBs\fR Save screen, don't erase before plotting. | |
41 | .s3 | |
42 | .lp +5 5 | |
43 | \fBx\fR Next 1 (or 2) arguments are lower (and upper) \fIx\fR limits. | |
44 | .s3 | |
45 | .lp +5 5 | |
46 | \fBy\fR Next 1 (or 2) arguments are lower (and upper) | |
47 | \fIy\fR limits. | |
48 | .s3 | |
49 | .i0 | |
50 | Points are connected by straight line segments in the order | |
51 | they appear in input. | |
52 | If a specified lower limit exceeds the upper limit, or if | |
53 | the automatic increment is negative, the graph is plotted | |
54 | upside down. | |
55 | Automatic abscissas begin with the lower \fIx\fR limit, or with 0 | |
56 | if no limit is specified. | |
57 | Grid lines and automatically determined limits fall on round | |
58 | values, however roundness | |
59 | may be subverted by giving an inappropriately rounded | |
60 | lower limit. | |
61 | Plotting symbols specified by | |
62 | .bd c | |
63 | are | |
64 | placed so that a small initial letter, | |
65 | such as + o x, will fall | |
66 | approximately on the plotting point. | |
67 | .sh FILES | |
68 | /dev/vt0 | |
69 | .sh "SEE ALSO" | |
70 | spline(VI) | |
71 | .sh BUGS | |
72 | A limit of 1000 points is enforced silently. |