piperSubplot | R Documentation |
Plots the Piper diagram projected from the two trilinear diagrams on either side (support function).
piperSubplot(x, y, 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, x1title = "x1", y1title = "y1", x2title = "x2", y2title = "y2", plot = TRUE)
x |
x-axis coordinate values (derived from the cation z-axis). |
y |
y-axis coordinate values (derived from the anion y-axis). |
what |
the type of plot, must be either "points" or "lines." |
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 |
x1title |
the title (also called caption) of the bottom x-axis. |
y1title |
the title (also called caption) of the left y-axis. |
x2title |
the title (also called caption) of the top x-axis. |
y2title |
the title (also called caption) of the right y-axis. |
plot |
logical, if |
Support function, to be called only from piperPlot
.
If plot
is TRUE, then the range of the user coordinates.
Otherwise, the transformed x- and y-coordinate values.
piperPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.