PLOT(3) BSD Programmer's Manual PLOT(3) NNAAMMEE plot: openpl, erase, label, line, circle, arc, move, cont, point, linemod, space, closepl - graphics interface SSYYNNOOPPSSIISS ooppeennppll(()) eerraassee(()) llaabbeell((ss)) cchhaarr ss[[]];; lliinnee((xx11,, yy11,, xx22,, yy22)) cciirrccllee((xx,, yy,, rr)) aarrcc((xx,, yy,, xx00,, yy00,, xx11,, yy11)) mmoovvee((xx,, yy)) ccoonntt((xx,, yy)) ppooiinntt((xx,, yy)) lliinneemmoodd((ss)) cchhaarr ss[[]];; ssppaaccee((xx00,, yy00,, xx11,, yy11)) cclloosseeppll(()) DDEESSCCRRIIPPTTIIOONN These 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 output devices. They are obtained by the following _l_d(1) options: --llpplloott device-independent graphics stream on standard output for _p_l_o_t(1) filters --ll330000 GSI 300 terminal --ll330000ss GSI 300S terminal --ll445500 GSI 450 terminal 7th Edition June 4, 1993 1 PLOT(3) BSD Programmer's Manual PLOT(3) --ll44001133 Tektronix 4013 terminal --ll44001144 Tektronix 4014 and 4015 terminals with the Enhanced Graphics Module (Use --ll44001133 for 4014's or 4015's without the Enhanced Graphics Module) --llpplloottaaeedd AED 512 color graphics terminal --llpplloottbbgg BBN bitgraph graphics terminal --llpplloottdduummbb Dumb terminals without cursor addressing or line printers --llpplloottggiiggii DEC Gigi terminals --llvvtt00 DEC vt100 terminals --llpplloott22664488 Hewlett Packard 2648 graphics terminal --llpplloott77222211 Hewlett Packard 7221 graphics terminal --llpplloottiimmaaggeenn Imagen 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 nor- mally 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(). SSEEEE AALLSSOO plot(5), plot(1G), plot(3F), graph(1G) 7th Edition June 4, 1993 2