ternary_axis {isopleuros} | R Documentation |
Add an Axis to a Ternary Plot
Description
Adds an axis to the current plot.
Usage
ternary_axis(
side,
at = NULL,
labels = TRUE,
tick = TRUE,
center = getOption("isopleuros.center"),
scale = getOption("isopleuros.scale"),
font = NA,
lty = "solid",
lwd = 1,
lwd.ticks = lwd,
col = NULL,
col.ticks = NULL,
...
)
Arguments
side |
An |
at |
A |
labels |
A |
tick |
A |
center |
A |
scale |
A |
font |
font for text. Defaults to |
lty |
A |
lwd , lwd.ticks |
A non-negative |
col , col.ticks |
Colors for the axis line and the tick marks
respectively. Defaults to |
... |
Other graphical parameters may also be passed as
arguments to this function, particularly, |
Value
ternary_axis()
is called it for its side-effects.
Author(s)
N. Frerebeau
See Also
Other graphical elements:
ternary_box()
,
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")