Blob


1 .TH PLOT 1
2 .SH NAME
3 plot \- graphics filter
4 .SH SYNOPSIS
5 .B plot
6 [
7 .I file ...
8 ]
9 .SH DESCRIPTION
10 .I Plot
11 interprets plotting instructions (see
12 .IR plot (7))
13 from the
14 .I files
15 or standard input,
16 drawing the results in a newly created
17 .MR rio (1)
18 window.
19 Plot persists until a newline is typed in the window.
20 Various options may be interspersed with the
21 .I file
22 arguments; they take effect at the given point in processing.
23 Options are:
24 .TP "\w'\fL-g \fIgrade\fLXX'u"
25 .B -d
26 Double buffer: accumulate the plot off-screen and write to the screen all at once
27 when an erase command is encountered or at end of file.
28 .TP
29 .B -e
30 Erase the screen.
31 .TP
32 .BI -c " col"
33 Set the foreground color (see
34 .MR plot (7)
35 for color names).
36 .TP
37 .BI -f " fill"
38 Set the background color.
39 .TP
40 .BI -g " grade"
41 Set the quality factor for arcs.
42 Higher grades give better quality.
43 .TP
44 .BI -p " col"
45 Set the pen color.
46 .TP
47 .BI -w
48 Pause until a newline is typed on standard input.
49 .TP
50 .B -C
51 Close the current plot.
52 .TP
53 .B -W " x0,y0,x1,y1"
54 Specify the bounding rectangle of plot's window.
55 By default it uses a 512×512 window in the
56 middle of the screen.
57 .SH SOURCE
58 .B \*9/src/cmd/plot
59 .SH "SEE ALSO"
60 .MR rio (1) ,
61 .MR plot (7)