1PLOT(5)                       File Formats Manual                      PLOT(5)
2
3
4

NAME

6       plot - graphics interface
7

DESCRIPTION

9       Files of this format are produced by routines described in plot(3), and
10       are interpreted for various devices by commands described  in  plot(1).
11       A graphics file is a stream of plotting instructions.  Each instruction
12       consists of an ASCII letter usually followed by bytes of binary  infor‐
13       mation.  The instructions are executed in order.  A point is designated
14       by four bytes representing the x and y values; each value is  a  signed
15       integer.   The  last  designated  point in an l, m, n, or p instruction
16       becomes the `current point' for the next instruction.
17
18       Each of the following descriptions begins with the name of  the  corre‐
19       sponding routine in plot(3).
20
21       m  move: The next four bytes give a new current point.
22
23       n  cont:  Draw  a line from the current point to the point given by the
24          next four bytes.  See plot(1).
25
26       p  point: Plot the point given by the next four bytes.
27
28       l  line: Draw a line from the point given by the next four bytes to the
29          point given by the following four bytes.
30
31       t  label:  Place the following ASCII string so that its first character
32          falls on the current point.  The string is terminated by a newline.
33
34       a  arc: The first four bytes give the center, the next  four  give  the
35          starting  point,  and the last four give the end point of a circular
36          arc.  The least significant coordinate of the end point is used only
37          to determine the quadrant.  The arc is drawn counter-clockwise.
38
39       c  circle: The first four bytes give the center of the circle, the next
40          two the radius.
41
42       e  erase: Start another frame of output.
43
44       f  linemod: Take the following string, up to a newline,  as  the  style
45          for drawing further lines.  The styles are `dotted,' `solid,' `long‐
46          dashed,' `shortdashed,' and `dotdashed.'   Effective  only  in  plot
47          4014 and plot ver.
48
49       s  space:  The  next four bytes give the lower left corner of the plot‐
50          ting area; the following four give the upper right corner.  The plot
51          will  be magnified or reduced to fit the device as closely as possi‐
52          ble.
53
54          Space settings that exactly fill the plotting area with unity  scal‐
55          ing  appear  below  for devices supported by the filters of plot(1).
56          The upper limit is just outside the plotting area.   In  every  case
57          the  plotting area is taken to be square; points outside may be dis‐
58          playable on devices whose face isn't square.
59
60          4014      space(0, 0, 3120, 3120);
61          ver       space(0, 0, 2048, 2048);
62          300, 300s space(0, 0, 4096, 4096);
63          450       space(0, 0, 4096, 4096);
64

SEE ALSO

66       plot(1), plot(3), graph(1)
67
68
69
70                                                                       PLOT(5)
Impressum