[R] ternary diagrams with contours
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Jan 17 12:43:54 CET 2004
On Sat, 17 Jan 2004, Kyriakos Kachrimanis wrote:
> I would like to ask if it is possible to create ternary diagrams with
> contours. I want to plot a property that depends on a ternary mixture
> composition, so I think this would be the best way. I found a similar
> question in a past R-help list message but there was no answer.
It is possible. Just produce a suitable matrix of values, set parts
outside the triangle to NA and call contour. I have done it several
times.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list