Ternary Plot Annotation
Usage
ternary_title(
main = NULL,
sub = NULL,
xlab = NULL,
ylab = NULL,
zlab = NULL,
line = NA,
outer = FALSE,
...
)Arguments
- main
A
characterstring specifying the main title (on top).- sub
A
characterstring specifying the sub-title (at bottom).- xlab, ylab, zlab
A
characterstring giving a label for the x, y and z axes.- line
Specifying a value for
lineoverrides the default placement of labels, and places them this many lines outwards from the plot edge.- outer
A
logicalscalar: should the titles be placed in the outer margins of the plot?- ...
Other graphical parameters may also be passed as arguments to this function, particularly,
font.main,cex.main,col.mainandfont.sub,cex.sub,col.subfor title annotation;font.lab,cex.labandcol.labfor axis label.
See also
Other graphical elements:
ternary_axis(),
ternary_box(),
ternary_grid(),
ternary_pairs(),
ternary_plot()
Examples
## Add title
ternary_plot(NULL, main = "Main title", sub = "Subtitle",
xlab = "A", ylab = "B", zlab = "C")
ternary_plot(NULL, ann = FALSE)
ternary_title(main = "Main title", sub = "Subtitle",
xlab = "A", ylab = "B", zlab = "C")
