Draw a Box around a Ternary Plot
Arguments
- lty
A
character
string ornumeric
value specifying the line type of the box.- ...
Other graphical parameters may also be passed as arguments to this function, particularly,
col
orlwd
.
See also
Other graphical elements:
ternary_axis()
,
ternary_grid()
,
ternary_pairs()
,
ternary_plot()
,
ternary_title()
Examples
## Add axis
ternary_plot(NULL, axes = FALSE)
ternary_axis(side = 1, col = "red")
ternary_axis(side = 2, col = "blue")
ternary_axis(side = 3, col = "green")
## Add box and grid
ternary_plot(NULL, axes = FALSE)
ternary_box(lty = "dashed", col = "red")
ternary_grid(lty.primary = "dotted")