


      PLOT(3X)                    (UNIX 5.0)                   PLOT(3X)



      NAME
           plot - graphics interface subroutines

      SYNTAX
           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 whose center is (x,y).

           Arc draws an arc of the circle whose center is (x, y); the
           arc is drawn clockwise from (x0, y0) to (x1, y1).

           String arguments to label and linemod are terminated by
           nulls and do not contain new-lines.




      Page 1                                         (73 A2 02MTA REV1)






      PLOT(3X)                    (UNIX 5.0)                   PLOT(3X)



           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(1) filters
           /usr/lib/lib300.a   for DASI 300
           /usr/lib/lib300s.a  for DASI 300s
           /usr/lib/lib450.a   for DASI 450
           /usr/lib/lib4014.a  for Tektronix 4014
           /usr/lib/libr15.a   for Bull-SPS9 Monochrome Display

      WARNINGS
           In order to compile a program containing these functions in
           file.c it is necessary to use ``cc file.c -lplot''.

           In order to execute it, it is necessary to use ``a.out |
           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.

      SEE ALSO
           graph(1), stat(1), tplot(1), plot(4).




























      Page 2                                         (73 A2 02MTA REV1)



