title: Plot Annotation

Description Usage Arguments

View source: R/title.R

Description

This function can be used to add labels to a plot. Its main difference to title is that it allows to specify a different drawing position for each annotation. The defaults are the same as for title, but can be changed by a call to options.

Usage

1
2
3
title(main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
  main.line = NULL, sub.line = NULL, xlab.line = NULL, ylab.line = NULL,
  use.default.line = FALSE, ...)

Arguments

main

Main plot title.

sub

Plot subtitle.

xlab

X axis label.

ylab

Y axis label.

main.line

The margin line for the main title. Defaults to getOption('imisc.mgp.main') or, if the option is not set, 3.

sub.line

The margin line for the sub-title. Defaults to getOption('imisc.mgp.sub') or, if the option is not set, par('mgp')[1] + 1.

xlab.line

The margin line for the X axis label. Defaults to getOption('imisc.mgp.xlab') or, if the option is not set, par('mgp')[1].

ylab.line

The margin line for the Y axis label. Defaults to getOption('imisc.mgp.xlab') or, if the option is not set, par('mgp')[1].

use.default.line

Use title defaults instead of getOption('imisc.mgp'), even if the options are set.

...

Additional parameters passed to title


ilia-kats/imisc documentation built on May 18, 2019, 3:43 a.m.