Draw arrows between pairs of points.
Usage
ternary_arrows(x0, y0, z0, ...)
# S4 method for class 'numeric,numeric,numeric'
ternary_arrows(x0, y0, z0, x1 = x0, y1 = y0, z1 = z0, ...)
Arguments
- x0, y0, z0
A
numeric
vector giving the x, y and z ternary coordinates of points from which to draw.- ...
Further arguments to be passed to
graphics::arrows()
.- x1, y1, z1
A
numeric
vector giving the x, y and z ternary coordinates of points to which to draw.
See also
Other geometries:
ternary_crosshairs()
,
ternary_labels()
,
ternary_lines()
,
ternary_points()
,
ternary_polygon()
,
ternary_segments()
,
ternary_text()
Examples
## Add arrows
ternary_plot(NULL, panel.first = ternary_grid())
ternary_arrows(x0 = 40, y0 = 20, z0 = 40,
x1 = 20, y1 = 40, z1 = 40)