[R] Ternary or Triangular Plots (soil texture triangle plot)?

Christos Hatzis christos at silicoinsights.com
Mon Apr 3 15:51:14 CEST 2006


You might want to try 'ternaryplot' from the 'vcd' package.  I haven't used
it myself but it appears to be quite flexible and since it is based on the
grid graphics system it is highly extensible.

-Christos 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Dan Bolser
Sent: Monday, April 03, 2006 9:41 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Ternary or Triangular Plots (soil texture triangle plot)?


Hi,

I am trying to create a triangular plot to show the 'composition' of a set
of items with three variables (historically the percent sand, silt and clay
in soil).

So far I have tried the 'soil texture triangle plot' in the package plotrix
and the 'ternary or triangular plots' in the package cwhtool (cwhmisc). Both
have strengths and weaknesses, but neither has a 'standard' or 'generic'
feel about it.

To save myself time I would like to ask the list if there is a preferred or
standard implementation of the triangle plot that will let me,

* Label the three axes
* Specify a range for the three axis
* Label each point with a string
* Add lines perpendicular to each axis

Or in general if there is an implementation of the triangle plot which
supports the standard plotting options.

Thanks very much for any pointers,

Dan.

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list