[0m


PLOT(3X)	    UNIX Programmer's Manual		 PLOT(3X)



[1mNAME
     [0mplot: openpl, erase, label, line, circle, arc, move, cont,
     point, linemod, space, closepl - graphics interface

[1mSYNOPSIS
     openpl()

     erase()

     label(s)
     char s[];

     line(x1, y1, x2, y2)

     circle(x, y, r)

     arc(x, y, x0, y0, x1, y1)

     move(x, y)

     cont(x, y)

     point(x, y)

     linemod(s)
     char s[];

     space(x0, y0, x1, y1)

     closepl()

DESCRIPTION
     [0mThese subroutines generate graphic output in a relatively
     device-independent manner.  See _p_l_o_t(5) for a description of
     their effect.  _O_p_e_n_p_l must be used before any of the others
     to open the device for writing.  _C_l_o_s_e_p_l flushes the output.

     String arguments to _l_a_b_e_l and _l_i_n_e_m_o_d are null-terminated,
     and do not contain newlines.

     Various flavors of these functions exist for different out-
     put devices. They are obtained by the following _l_d(1)
     options:

     [1m-lplot  [0mdevice-independent graphics stream on standard out-
	     put for _p_l_o_t(1) filters
     [1m-l300   [0mGSI 300 terminal
     [1m-l300s  [0mGSI 300S terminal
     [1m-l450   [0mGSI 450 terminal
     [1m-l4013  [0mTektronix 4013 terminal
     [1m-l4014  [0mTektronix 4014 and 4015 terminals with the Enhanced
	     Graphics Module (Use [1m-l4013 [0mfor 4014's or 4015's



Printed 25/11/91    Revision 1.2 of 19/10/88			1






PLOT(3X)	    UNIX Programmer's Manual		 PLOT(3X)



	     without the Enhanced Graphics Module)
     [1m-lplotaed
	     [0mAED 512 color graphics terminal
     [1m-lplotbg
	     [0mBBN bitgraph graphics terminal
     [1m-lplotdumb
	     [0mDumb terminals without cursor addressing or line
	     printers
     [1m-lplot  [0mDEC Gigi terminals
     [1m-lvt0   [0mDEC vt100 terminals
     [1m-lplot2648
	     [0mHewlett Packard 2648 graphics terminal
     [1m-lplot7221
	     [0mHewlett Packard 7221 graphics terminal
     [1m-lplotimagen
	     [0mImagen laser printer (default 240 dots-per-inch
	     resolution).

     On many devices, it is necessary to pause after _e_r_a_s_e(),
     otherwise plotting commands are lost.  The pause is normally
     done by the tty driver if at login time, _t_s_e_t found a _d_f
     field in the _t_e_r_m_c_a_p(5) entry for the terminal.  If a pause
     is needed but not automatically being generated, add
	  flush(stdout);
	  sleep(1);
     after each _e_r_a_s_e().

[1mSEE ALSO
     [0mplot(5), plot(1G), plot(3F), graph(1G)


























Printed 25/11/91    Revision 1.2 of 19/10/88			2



[0m