PLOT: Interface to Plotting Devices

Authors: James Stewart, George Davenport, Syd Hall,

Allan Imerito & Roeli Olthof-Hazekamp

Contact: Syd Hall, Crystallography Centre,

University of Western Australia, Nedlands 6009, Australia

PLOT converts plot commands into graphical output appropriate for specific plot devices. See also PLOTX for an alternative approach to plotting.

Supported Plot Devices

The display devices supported by PLOT will depend on its local implementation. The device options specified by the user on the STARTP line are summarized below. The actual hardware that these options represent will vary from site to site.

char character-resolution printer

dot dot-matrix printer or plotter

plot digital pen plotter

vdu graphics display terminal (visual display unit)

loc1 locally-defined plot device 1

loc2 locally-defined plot device 2

Scaling And Centring

The positive x-axis of a plot is taken as horizontal from left to right, and the positive y-axis is taken as vertical from bottom to top. Default frame dimensions and resolutions for the different devices are listed in the description of the STARTP line. They may be changed at installation time or using the STARTP line. High resolutions (i.e. small values entered in field 9) may result in smooth plots but will run slowly and may indeed exceed the resolution of the device.To magnify or contract a plot, or to translate a plot within the given frame, the user may define the scale factor and/or plot centre manually.

File Assignments

Reads a plot commands from a specified file (default is ort)

Optionally writes a plot file to plt

Example

PLOT

color nofill 2 2 2 bond 1 char 3 numb 4

STARTP loc1

A plot is output to local device 1 with default dimensions. The colours have indices 1 (for the bonds), 2 for (all) three atoms, 3 for the characters and 4 for the numbers.