Skip to contents

Draw a Box around a Ternary Plot

Usage

ternary_box(lty = "solid", ...)

Arguments

lty

A character string or numeric value specifying the line type of the box.

...

Other graphical parameters may also be passed as arguments to this function, particularly, col or lwd.

Value

ternary_box() is called it for its side-effects.

See also

Other graphical elements: ternary_axis(), ternary_grid(), ternary_pairs(), ternary_plot(), ternary_title()

Author

N. Frerebeau

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")


ternary_plot(NULL, axes = FALSE)
ternary_box(lty = "dashed", col = "red")