CALL FOR PROPOSALS:

ORGANIZERS

  • Harvey Thorleifson, Chair
    Minnesota Geological Survey
  • Carrie Jennings, Vice Chair
    Minnesota Geological Survey
  • David Bush, Technical Program Chair
    University of West Georgia
  • Jim Miller, Field Trip Chair
    University of Minnesota Duluth
  • Curtis M. Hudak, Sponsorship Chair
    Foth Infrastructure & Environment, LLC

 

Paper No. 9
Presentation Time: 11:00 AM

GPVPlot: SIMPLE AND EFFICIENT GRAPH GENERATION FOR GEOCHEMICAL DATA


KANDOLA, Shelley B.1, KRATZMANN, David J.2 and TORREY, Lisa1, (1)Department of Mathematics, Computer Science, and Statistics, St Lawrence University, Canton, NY 13617, (2)Department of Geology, St. Lawrence University, Canton, NY 13617, sbkand09@stlawu.edu

Geologists collect a plethora of geochemical data from a variety of analytical sources. In petrologic and geochemical studies it is routine practice to plot these data on discrimination or "Harker" diagrams to facilitate the identification and interpretation of geochemical trends. While many graphing programs exist, some of which are intended specifically for geologists, none allow the user to quickly graph large, or numerous, data sets for analysis in a side-by-side one page view. GPVPlot is a command-line based program that accomplishes this, enabling geologists and geochemists to rapidly graph large quantities of geochemical data from multiple data sets saved and displayed as a PDF. The program streamlines the plotting process and eliminates the need to plot data individually, saving time and effort.

GPVPlot was written in the open-source languages Perl and gnuplot to maximize availability and customization. Through the computer’s terminal, the program prompts the user with a short series of questions from which a graphical output is generated as a PDF. The user can plot up to eight oxides from as many as ten data sets against a single x-axis variable. Once the user has specified the names of the data sets, the variables, and the range of data to plot (optional), the entire process from graphing the data to saving the graphs as images to embedding them on and displaying a PDF takes between 4 and 6 seconds. GPVPlot is designed to take .CSV files (as generated by a program such as Excel™) and .TXT files (of whitespace-separated values). The program input is flexible and will accept filenames with or without extensions. The program is very low-impact, consisting of only two files requiring ~11 KB of storage space. Because Perl is a Unix-based language, this program is optimized for use on Unix-based machines such as those running Linux and Mac OS X. The result is a compact, efficient, open-source program that rapidly graphs large volumes of geochemical data.

Meeting Home page GSA Home Page