groff 1.23.0 added .MR to its -man macro package. The NEWS file states
that the inclusion of the macro "was prompted by its introduction to
Plan 9 from User Space's troff in August 2020." From d32deab it seems
that the name for Plan 9 from User Space's implementation was suggested
by groff maintainer G. Brandon Robinson.
Not sure if the intention was to make these definitions compatible, but
it would be nice if they were.
Currently, Plan 9 from User Space's .MR expects its second argument to
be parenthesized. groff's .MR does not. This results in extra
parentheses appearing in manual references when viewing Plan 9 from User
Space's manual pages on a system using groff.
62 lines
1.2 KiB
Groff
62 lines
1.2 KiB
Groff
.TH PLOT 1
|
||
.SH NAME
|
||
plot \- graphics filter
|
||
.SH SYNOPSIS
|
||
.B plot
|
||
[
|
||
.I file ...
|
||
]
|
||
.SH DESCRIPTION
|
||
.I Plot
|
||
interprets plotting instructions (see
|
||
.IR plot (7))
|
||
from the
|
||
.I files
|
||
or standard input,
|
||
drawing the results in a newly created
|
||
.MR 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
|
||
.MR plot 7
|
||
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 \*9/src/cmd/plot
|
||
.SH "SEE ALSO"
|
||
.MR rio 1 ,
|
||
.MR plot 7
|