Learn R Programming

isopleuros (version 1.4.0)

ternary_title: Ternary Plot Annotation

Description

Ternary Plot Annotation

Usage

ternary_title(
  main = NULL,
  sub = NULL,
  xlab = NULL,
  ylab = NULL,
  zlab = NULL,
  line = NA,
  outer = FALSE,
  ...
)

Value

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

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 and font.sub, cex.sub, col.sub for title annotation; font.lab, cex.lab and col.lab for axis label.

Author

N. Frerebeau

See Also

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

Examples

Run this code
## 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")

Run the code above in your browser using DataLab