Add Line Segments to a Ternary PlotSource:
Draw line segments between pairs of points.
ternary_segments(x0, y0, z0, ...) # S4 method for numeric,numeric,numeric ternary_segments(x0, y0, z0, x1 = x0, y1 = y0, z1 = z0, ...)
- x0, y0, z0
numericvector giving the x, y and z ternary coordinates of points from which to draw.
Further graphical parameters (see
graphics::par()) may also be supplied as arguments, particularly, line type,
lty, line width,
col. Also the line characteristics
- x1, y1, z1
numericvector giving the x, y and z ternary coordinates of points to which to draw.
## Add segments ternary_plot(NULL, panel.first = ternary_grid()) ternary_segments(x0 = 40, y0 = 20, z0 = 40, x1 = 20, y1 = 40, z1 = 40)