1PLOT(3X)                                                              PLOT(3X)
2
3
4

NAME

6       plot:  openpl,  erase,  label,  line,  circle,  arc, move, cont, point,
7       linemod, space, closepl - graphics interface
8

SYNOPSIS

10       openpl()
11
12       erase()
13
14       label(s)
15       char s[];
16
17       line(x1, y1, x2, y2)
18
19       circle(x, y, r)
20
21       arc(x, y, x0, y0, x1, y1)
22
23       move(x, y)
24
25       cont(x, y)
26
27       point(x, y)
28
29       linemod(s)
30       char s[];
31
32       space(x0, y0, x1, y1)
33
34       closepl()
35

DESCRIPTION

37       These subroutines generate graphic output in a relatively  device-inde‐
38       pendent manner.  See plot(5) for a description of their effect.  Openpl
39       must be used before any of the others to open the device  for  writing.
40       Closepl flushes the output.
41
42       String  arguments  to label and linemod are null-terminated, and do not
43       contain newlines.
44
45       Various flavors of these functions exist for different output  devices.
46       They are obtained by the following ld(1) options:
47
48       -lplot  device-independent  graphics  stream  on  standard  output  for
49               plot(1) filters
50       -l300   GSI 300 terminal
51       -l300s  GSI 300S terminal
52       -l450   GSI 450 terminal
53       -l4013  Tektronix 4013 terminal
54       -l4014  Tektronix 4014 and 4015 terminals with  the  Enhanced  Graphics
55               Module  (Use  -l4013  for 4014's or 4015's without the Enhanced
56               Graphics Module)
57       -lplotaed
58               AED 512 color graphics terminal
59       -lplotbg
60               BBN bitgraph graphics terminal
61       -lplotdumb
62               Dumb terminals without cursor addressing or line printers
63       -lplot  DEC Gigi terminals
64       -lvt0   DEC vt100 terminals
65       -lplot2648
66               Hewlett Packard 2648 graphics terminal
67       -lplot7221
68               Hewlett Packard 7221 graphics terminal
69       -lplotimagen
70               Imagen laser printer (default 240 dots-per-inch resolution).
71
72       On many devices, it is necessary  to  pause  after  erase(),  otherwise
73       plotting  commands  are  lost.   The  pause is normally done by the tty
74       driver if at login time, tset found a df field in the termcap(5)  entry
75       for  the  terminal.   If  a pause is needed but not automatically being
76       generated, add
77              flush(stdout);
78              sleep(1);
79       after each erase().
80

SEE ALSO

82       plot(5), plot(1G), plot(3F), graph(1G)
83
84
85
867th Edition                      May 15, 1986                         PLOT(3X)
Impressum