ternary_crosshairs {isopleuros} | R Documentation |
Add Cross-Hairs to a Ternary Plot
Description
Draw lines that intersect at a point.
Usage
ternary_crosshairs(x, y, z, ...)
## S4 method for signature 'numeric,numeric,numeric'
ternary_crosshairs(x, y, z, x_mark = TRUE, y_mark = TRUE, z_mark = TRUE, ...)
## S4 method for signature 'ANY,missing,missing'
ternary_crosshairs(x, x_mark = TRUE, y_mark = TRUE, z_mark = TRUE, ...)
Arguments
x , y , z |
A |
... |
Further graphical parameters (see |
x_mark , y_mark , z_mark |
A |
Value
ternary_crosshairs()
is called it for its side-effects.
Author(s)
N. Frerebeau
See Also
Other geometries:
ternary_arrows()
,
ternary_labels()
,
ternary_lines()
,
ternary_points()
,
ternary_polygon()
,
ternary_segments()
,
ternary_text()
Examples
## Add cross-hairs
## Data from Aitchison 1986
ternary_plot(lava, panel.first = ternary_grid())
ternary_crosshairs(lava)
ternary_plot(lava, panel.first = ternary_grid())
ternary_crosshairs(lava, y_mark = FALSE, z_mark = FALSE, col = "red")
ternary_plot(lava, panel.first = ternary_grid())
ternary_crosshairs(lava, x_mark = FALSE, z_mark = FALSE, col = "green")
ternary_plot(lava, panel.first = ternary_grid())
ternary_crosshairs(lava, x_mark = FALSE, y_mark = FALSE, col = "blue")
[Package isopleuros version 1.2.0 Index]