Skip to content

Plotting ternary diagrams

4 messages · Phil Novack-Gottshall, Sarah Goslee, Gavin Simpson +1 more

#
Hi all,

Can anyone point me to a function for plotting a ternary diagram (a 
triangular plot; typically, each axis ranges 0-100% with cumulative 
value for each point adding to 100% along all three axes)?  It's 
frequently used by geologists to plot sedimentological or 
mineralogical composition, and I think I've seen it used in biome 
mapping (temperature/elevation/moisture).

A bit further afield, do any functions exist to extend this to 4 
axes, as a pyramidal quarternary diagram?

Thanks for any advice,
Phil


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Phil 
Novack-Gottshall                        pnovackg at westga.edu 


   Assistant Professor
   Department of Geosciences
   University of West Georgia
   Carrollton, GA 30118-3100
   Phone: 678-839-4061
   Fax: 678-839-4071
   http://www.westga.edu/~pnovackg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ternaryplot in package vcd will do it.

See also
http://tolstoy.newcastle.edu.au/R/help/05/05/5421.html
and the rest of the thread.

Sarah

On Thu, Jun 19, 2008 at 11:56 AM, Phil Novack-Gottshall
<pnovackg at westga.edu> wrote:

  
    
#
On Thu, 2008-06-19 at 11:56 -0400, Phil Novack-Gottshall wrote:
RSiteSearch("ternary", restrict = "functions")

And take a look at some of the hits from there.

HTH

G
#
See also the "soil texture plot" and "ternary plot" in the R Graph 
Gallery. You can find source code for each of them there.

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=76
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=34

cheers,
Mike
Phil Novack-Gottshall wrote: