triax.points {plotrix} | R Documentation |
Display points on a triangle plot.
triax.points(x,show.legend=FALSE,label.points=FALSE,point.labels=NULL, col.symbols=par("fg"),pch=par("pch"),bg.symbols=par("bg"),...)
x |
Matrix or data frame where each row is three proportions or percentages that must sum to 1 or 100 respectively. |
show.legend |
Logical - whether to display a legend. |
label.points |
Logical - whether to call thigmophobe.labels
to label the points. |
point.labels |
Optional labels for the points and/or legend. |
col.symbols |
Color of the symbols representing each value. |
pch |
Symbols to use in plotting values. |
bg.symbols |
Background color for plotting symbols. |
... |
Additional arguments passed to points . |
triax.points
displays each triplet of proportions or percentages
as a symbol on the triangle plot. Unless each triplet sums to 1
(or 100), they will not plot properly and triax.points
will
complain appropriately.
A list of the x,y
positions plotted.
Jim Lemon
data(soils) triax.plot(soils[1:10,],main="Adding points to a triangle plot") if(dev.interactive()) par(ask=TRUE) triax.points(soils[11:20,],col.symbols="green",pch=3) if(dev.interactive()) par(ask=FALSE)