PLOT(3X) DOMAIN/IX SYS5 PLOT(3X)
NAME
plot - graphics interface subroutines
USAGE
openpl ()
erase ()
label(s)
char *s;
line(x1, y1, x2, y2)
int x1, y1, x2, y2;
circle(x, y, r)
int x, y, r;
arc(x, y, x0, y0, x1, y1)
int x, y, x0, y0, x1, y1;
move(x, y)
int x, y;
cont(x, y)
int x, y;
point(x, y)
int x, y;
linemod(s)
char *s;
space(x0, y0, x1, y1)
int x0, y0, x1, y1;
closepl ()
DESCRIPTION
These subroutines generate graphic output in a relatively
device-independent manner. Space must be used before any of
these functions to declare the amount of space necessary.
See plot(4). Openpl must be used before any of the others
to open the device for writing. Closepl flushes the output.
Circle draws a circle of radius r with center at the point
(x, y).
Printed 12/4/86 PLOT-1
PLOT(3X) DOMAIN/IX SYS5 PLOT(3X)
Arc draws an arc of a circle with center at the point (x, y)
between the points (x0, y0) and (x1, y1).
String arguments to label and linemod are terminated by
nulls and do not contain new-lines.
See plot(4) for a description of the effect of the remaining
functions.
The library files listed below provide several flavors of
these routines.
FILES
/usr/lib/libplot.a produces output for tplot(1G) filters
/usr/lib/lib*.a various device-specific filters
WARNINGS
In order to compile the program file.c that uses these func-
tions, it is necessary to use the -lplot option to cc(1).
Before you can execute the output of such a compilation, you
must pipe it through tplot.
The above routines use <stdio.h>, which causes them to
increase the size of programs, not otherwise using standard
I/O, more than might be expected.
RELATED INFORMATION
plot(4). graph(1G), stat(1G), tplot(1G)
PLOT-2 Printed 12/4/86