Skip to main content
U.S. flag

An official website of the United States government

Documentation of a multiple-technique computer program for plotting major-ion composition of natural waters

January 1, 1994

A computer program was written to produce 6 different types of water-quality diagrams--Piper, Stiff, pie, X-Y, boxplot, and Piper 3-D--from the same file of input data. The Piper 3-D diagram is a new method that projects values from the surface of a Piper plot into a triangular prism to show how variations in chemical composition can be related to variations in other water-quality variables. This program is an analytical tool to aid in the interpretation of data. This program is interactive, and the user can select from a menu the type of diagram to be produced and a large number of individual features. Alternatively, these choices can be specified in the data file, which provides a batch mode for running the program. The program does not display water-quality diagrams directly; plots are written to a file. Four different plot- file formats are available: device-independent metafiles, Adobe PostScript graphics files, and two Hewlett-Packard graphics language formats (7475 and 7586). An ASCII data-table file is also produced to document the computed values. This program is written in Fortran '77 and uses graphics subroutines from either the PRIOR AGTK or the DISSPLA graphics library. The program has been implemented on Prime series 50 and Data General Aviion computers within the USGS; portability to other computing systems depends on the availability of the graphics library.

Citation Information

Publication Year 1993
Title Documentation of a multiple-technique computer program for plotting major-ion composition of natural waters
DOI 10.3133/ofr9374
Authors L. I. Briel
Publication Type Report
Publication Subtype USGS Numbered Series
Series Title Open-File Report
Series Number 93-74
Index ID ofr9374
Record Source USGS Publications Warehouse
USGS Organization