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