Skip to content

A ternary graph's scales

3 messages · Marcin Kozak, Greg Snow

#
Hi all,

I am drawing a ternary graph. Everything is fine with both ternaryplot
(package vcd) and triangle.plot (package ade4), but I want to present
scales in neither percents nor from 0 to 1 (this is actually the only
option I found in both functions). I want the scales to be in a
natural scale (from 0 to k, k being the number of objects). Is it at
all possible? (Descriptions of both functions do not mention this
possibility.)

Thanks,
Marcin
#
There is also the tri function in the cwhtool package, triax.plot in the plotrix package, and triplot in the TeachingDemos package (I think it is between this plot and progress bars as to what functionality is reproduced in the most packages).  One of the others may do what you want, or be modifiable to do what you want.

The triplot (TeachingDemos) does not put scales on by default, but does had an 'add' argument that could possibly be used to add scales after the fact, or the code is fairly short and simple to see what the transformation is to add scale manually.

Hope this helps,

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
(801) 408-8111
#
Thank you, Greg. After all I noticed that in ternaryplot it can be
easily made by setting a 'scale' parameter.

Thanks,
Marcin
On Thu, Sep 4, 2008 at 6:00 PM, Greg Snow <Greg.Snow at imail.org> wrote: