plot(4) CLIX plot(4)
NAME
plot - Specifies graphics interface
DESCRIPTION
Files of this format are produced by functions described in plot and are
interpreted for various devices by commands described in tplot. A
graphics file is a stream of plotting instructions. Each instruction
consists of an ASCII letter usually followed by bytes of binary
information. The instructions are executed in order. A point is
designated by four bytes representing the x and y values; each value is a
signed integer. The last designated point in an l, m, n, or p instruction
becomes the ``current point'' for the next instruction.
Each of the following descriptions begins with the name of the
corresponding function in plot.
m move: The next four bytes give a new current point.
n cont: Draw a line from the current point to the point given by the
next four bytes [see tplot].
p point: Plot the point given by the next four bytes.
l line: Draw a line from the point given by the next four bytes to the
point given by the following four bytes.
t label: Place the following ASCII string so that its first character
falls on the current point. The string is terminated by a newline.
e erase: Start another frame of output.
f linemod: Take the following string, up to a newline, as the style for
drawing further lines. The styles are ``dotted'', ``solid'',
``longdashed'', ``shortdashed'', and ``dotdashed''. Effective only
for the -T4014 and -Tver options of tplot (TEKTRONIX 4014 terminal and
Versatec plotter).
s space: The next four bytes give the lower left corner of the plotting
area; the following four give the upper right corner. The plot will
be magnified or reduced to fit the device as closely as possible.
Space settings that exactly fill the plotting area with unity scaling
appear below for devices supported by the filters of tplot. The upper
limit is just outside the plotting area. In every case the plotting area
is taken to be square; points outside may be displayable on devices whose
face is not square.
DASI 300 space (0, 0, 4096, 4096);
2/94 - Intergraph Corporation 1
plot(4) CLIX plot(4)
DASI 300s space (0, 0, 4096, 4096);
DASI 450 space (0, 0, 4096, 4096);
TEKTRONIX 4014 space (0, 0, 3129, 3120);
Versatec plotter space (0, 0, 2048, 2048);
CAUTIONS
The plotting library plot and the curses library both use the names
erase() and move(). The curses versions are macros. If you need both
Libraries, put the plot code in a different source file than the curses
code, and/or #undef move() and erase() in the plot code.
RELATED INFORMATION
Commands: graph(1), tplot(1)
Functions: plot(3)
Files: gps(4)
Miscellany: term(4)
2 Intergraph Corporation - 2/94