McPlot is a general-purpose plotting utility which is designed for scientists and engineers who wish to produce high-quality annotated plots from previously generated data stored in files. It is written in a portable dialect of the C Programming Language specifically for Unix platforms. Plot descriptions are interpreted by a YACC generated parser which provides for a free-format, natural input language. The program incorporates a fan data compression algorithm to reduce plotting time of dense plot data. The user may also invoke built-in cubic spline interpolation routines for data smoothing, as well as a full function scientific calculator (RPN) for general transformations of input data.
In addition to conventional two-dimensional Cartesian plots, McPlot provides the capability to display three-dimensional data in spherical perspective geometry. Input options and the interpretation of data elements are automatically adjusted for each format.
McPlot may be run interactively, with on-line help, from terminals which support graphics output, or as a background process executing previously created plot commands. The program supports the X Window System, DEC VT/220 and Tektronix 4014 compatible terminals (xterm) and PostScript laser printers.
McPlot accepts data files produced by Matlab or ACSL, as well as user generated ASCII, Fortran and C Language binary files in a general matrix format. There are no built-in limits on the size of allowed data files; memory for plot data storage is dynamically allocated, as needed, up to the limits of available machine memory.
McPlot also supplies a basic C Language utility plot library, similar in function to the standard CalComp library, which may be linked with user generated subroutines for specific applications requiring graphics output. The library provides graphics output capability for all of the devices currently supported by McPlot. Manual pages for each function in the library are also included for reference.