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

SEE ALSO

69       plot(1G), plot(3X), plot(3F), graph(1G)
70
71
72
737th Edition                      May 15, 1985                          PLOT(5)
Impressum