1plot(4B)         SunOS/BSD Compatibility Package File Formats         plot(4B)
2
3
4

NAME

6       plot - graphics interface
7

DESCRIPTION

9       Files  of  this format  are interpreted for various devices by commands
10       described in plot(1B). A graphics file is a stream of plotting instruc‐
11       tions. Each instruction consists of an ASCII letter usually followed by
12       bytes of binary information. The instructions are executed in order.  A
13       point is designated by four bytes representing the x and y values; each
14       value is a signed integer. The last designated point in an l, m, n,  or
15       p instruction becomes the ``current point'' for the next instruction.
16
17       m     Move: the next four bytes give a new current point.
18
19
20       n     Cont:  draw  a  line from the current point to the point given by
21             the next four bytes. See plot(1B).
22
23
24       p     Point: plot the point given by the next four bytes.
25
26
27       l     Line: draw a line from the point given by the next four bytes  to
28             the point given by the following four bytes.
29
30
31       t     Label: place the following ASCII string so that its first charac‐
32             ter falls on the current point. The string  is  terminated  by  a
33             NEWLINE.
34
35
36       a     Arc: the first four bytes give the center, the next four give the
37             starting point, and the last four give the end point of a  circu‐
38             lar  arc.  The  least  significant coordinate of the end point is
39             used only to determine the quadrant. The arc  is  drawn  counter-
40             clockwise.
41
42
43       c     Circle:  the  first four bytes give the center of the circle, the
44             next two the radius.
45
46
47       e     Erase: start another frame of output.
48
49
50       f     Linemod: take the following string, up to a NEWLINE, as the style
51             for  drawing further lines. The styles are ``dotted,'' ``solid,''
52             ``longdashed,''  ``shortdashed,''  and  ``dotdashed.''  Effective
53             only in plot 4014 and plot ver.
54
55
56       s     Space:  the  next  four  bytes  give the lower left corner of the
57             plotting area; the following four give the  upper  right  corner.
58             The  plot  will  be  magnified  or  reduced  to fit the device as
59             closely as possible.
60
61             Space settings that exactly fill the  plotting  area  with  unity
62             scaling  appear  below  for  devices  supported by the filters of
63             plot(1B). The upper limit is just outside the plotting area.
64
65
66
67       In every case the plotting area is taken to be square;  points  outside
68       may be displayable on devices whose face is not square.
69
70       4014          space(0, 0, 3120, 3120);
71
72
73       ver           space(0, 0, 2048, 2048);
74
75
76       300, 300s     space(0, 0, 4096, 4096);
77
78
79       450           space(0, 0, 4096, 4096);
80
81

SEE ALSO

83       graph(1), plot(1B)
84
85
86
87SunOS 5.11                        18 Feb 2003                         plot(4B)
Impressum