View source: R/ternarySubPlot.R
ternarySubplot | R Documentation |
Plots the trilinear diagram in the Piper diagram (support function).
ternarySubplot(x, y, z, what = "points", symbol = rep(1, length(x)), color = rep(1, length(x)), size = rep(0.05, length(x)), axis.range = c(0, 100), num.labels = 6, ticks = FALSE, grids = !ticks, orient = "c", xtitle = "x", ytitle = "y", ztitle = "z", plot = TRUE)
x |
the x-ccordinate values. |
y |
the y-coordinate values. |
z |
the z-coordinate values. |
what |
the type of plot, must be either "points," "lines," or "none." |
symbol |
the symbol to use if |
color |
the color of the plot. |
size |
the size of the symbol if |
axis.range |
the range of the axes. Must be either c(0, 1) or c(0, 100). |
num.labels |
the number of labels to draw on each axis. |
ticks |
logical, if |
grids |
logical, if |
orient |
a single character, "c" indicates clockwise orientation for
|
xtitle |
the x-axis title (also called x-axis caption). |
ytitle |
the y-axis title (also called y-axis caption). |
ztitle |
the z-axis title (also called z-axis caption). |
plot |
plot the data? |
Support function, to be called only from piperPlot
.
If plot
is TRUE, then the range of the user coordinates.
Otherwise, the x
, y
, and z
values are converted to
2-dimensional values.
piperPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.