Home
Scholarly Works
An Excel Macro for Generating Trilinear Plots
Journal article

An Excel Macro for Generating Trilinear Plots

Abstract

This computer note describes a method for creating trilinear plots in Microsoft Excel. Macros have been created in MS Excel's internal language: Visual Basic for Applications (VBA). A simple form has been set up to allow the user to input data from an Excel worksheet. The VBA macro is used to convert the triangular data (which consist of three columns of percentage data) into X-Y data. The macro then generates the axes, labels, and grid for the trilinear plot. The X-Y data are plotted as scatter data in Excel. By providing this macro in Excel, users can create trilinear plots in a quick, inexpensive manner.

Authors

Shikaze SG; Crowe AS

Journal

Ground Water, Vol. 45, No. 1, pp. 106–109

Publisher

Wiley

Publication Date

January 1, 2007

DOI

10.1111/j.1745-6584.2006.00264.x

ISSN

0017-467X

Contact the Experts team