glenda.party
term% ls -F
term% pwd
$home/manuals/unix_v8/3/plot
term% cat index.txt
PLOT(3)                    Library Functions Manual                    PLOT(3)

NAME
       vec, move, etc.  -  graphics interface

SYNOPSIS
       #include <pplot.h>
       #include <plot.h>
       #include <iplot.h>

       openpl(s) char *s;
       closepl()
       erase()
       move(x, y) double x, y;
       rmove(dx, dy) double dx, dy;
       point(x, y) double dx, dy;
       vec(x, y) double x, y;
       rvec(dx, dy) double dx, dy;
       line(x1, y1, x2, y2) double x1, y1, x2, y2;
       arc(x1, y1, x2, y2, x, y, r) double x1, y1, x2, y2, x, y, r;
       circle(xc, yc, r) double xc, yc, r;
       box(x1, y1, x2, y2) double x1, y1, x2, y2;
       sbox(x1, y1, x2, y2) double x1, y1, x2, y2;
       parabola(x1, y1, x2, y2, x3, y3) double x1, y1, x2, y2, x3, y3;
       fill(n, arr) int n[]; double *arr[];
       poly(n, arr) int n[]; double *arr[];
       spline(n, arr) int n[]; double *arr[];
       cspline(n, arr) int n[]; double *arr[];
       fspline(n, arr) int n[]; double *arr[];
       lspline(n, arr) int n[]; double *arr[];
       dspline(n, arr) int n[]; double *arr[];
       text(s) char *s;
       color(s) char *s;
       cfill(s) char *s;
       pen(s) char *s;
       range(x1, y1, x2, y2) double x1, y1, x2, y2;
       frame(x1, y1, x2, y2) double x1, y1, x2, y2;
       grade(x) double x;
       save()
       restore()
       ppause()

DESCRIPTION
       These  functions  generate  either  a device-independent graphic stream
       (see plot(5)) or device-dependent graphics commands.  For  device-inde‐
       pendent  graphic stream, include file <plot.h> for floating point argu‐
       ments; and file <iplot.h> for integer  arguments.   The  libraries  for
       different devices are loaded with the following ld(1) flags:

       -lplot  general stream output
       -l2621  HP2621 terminal
       -l4014  Tektronix 4014 terminal
       -lram   Ramtek 9300 display
       -ltr    Troff input, tuned for the Mergenthaler Linotron 202 phototype‐
               setter
       -lpen   HP7580 pen plotter
       -lblit  blit terminal running mux
       -l5620  5620 terminal running mux

       String  arguments are null terminated and may not contain embedded new‐
       lines.  For details on string arguments, see plot(5).  Poly, fill,  and
       the  various  spline  functions  take  an integer array and an array of
       pointers to double floating point arrays.   The  integers  specify  the
       number  of  vertices (x-y pairs) in the floating point array.  The last
       integer entry should be 0.

SEE ALSO
       plot(1), plot(5)

                                                                       PLOT(3)