Vector Plotting Library & Metafile Drivers (plotlib)
The plotlib directory contains the Ocean Mapping Groupβs device-independent 2D vector plotting library (plotlib), along with its X11 metafile viewer (viewmeta), HP-GL/PostScript hardware drivers (hpgl, plotdriver), pen-sorting optimizer (pensort), and Fortran-77 bindings (plotlibf77).
All 2D scientific plotting programs in the plot/, ray/, class/, and vers/ directories call plotlib routines (plot_open, plot_move, plot_line, plot_pen, plot_text, plot_close) to generate binary vector metafiles (typically plot.meta), which can then be inspected interactively or converted to PostScript/HP-GL.
Core Library & Language Bindings
plotlibβ Core C API for generating device-independent 2D vector plot metafiles (plot_open,plot_move,plot_line,plot_text,plot_pen,plot_close).plotlibf77β Fortran-77 wrapper routines exposingplotlibprimitives to legacy Fortran acoustic and ray-tracing programs.unixβ Low-level Unix file I/O, process spawning, and environment helpers forplotlib.
Metafile Viewers, Drivers & Post-Processors
viewmetaβ Interactive X11 viewer for inspecting binaryplot.metavector graphics files on screen.plotdriverβ Backend device driver translatingplot.metainstructions into target plotter commands.hpglβ Hewlett-Packard Graphics Language (HP-GL) output generator (paired withhpgl2psfor PostScript conversion).pensortβ Sorts vector drawing commands by pen number/color to minimize mechanical pen changes on physical flatbed/drum plotters.penstatβ Reports pen usage statistics, bounding boxes, and total stroke lengths in a metafile.plottestβ Diagnostic test program exercisingplotlibline styles, text scaling, and pen colors.