Ternary Plot Annotation
Usage
ternary_title(
main = NULL,
sub = NULL,
xlab = NULL,
ylab = NULL,
zlab = NULL,
line = NA,
outer = FALSE,
...
)
Arguments
- main
A
character
string specifying the main title (on top).- sub
A
character
string specifying the sub-title (at bottom).- xlab, ylab, zlab
A
character
string giving a label for the x, y and z axes.- line
Specifying a value for
line
overrides the default placement of labels, and places them this many lines outwards from the plot edge.- outer
A
logical
scalar: 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.main
andfont.sub
,cex.sub
,col.sub
for title annotation;font.lab
,cex.lab
andcol.lab
for 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")