| Line 1... |
Line 1... |
| 1 |
% File src/library/graphics/man/title.Rd
|
1 |
% File src/library/graphics/man/title.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2008 R Core Team
|
3 |
% Copyright 1995-2016 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{title}
|
6 |
\name{title}
|
| 7 |
\title{Plot Annotation}
|
7 |
\title{Plot Annotation}
|
| 8 |
\usage{
|
8 |
\usage{
|
| 9 |
title(main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
|
9 |
title(main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
|
| 10 |
line = NA, outer = FALSE, \dots)
|
10 |
line = NA, outer = FALSE, \dots)
|
| 11 |
}
|
11 |
}
|
| 12 |
\alias{title}
|
12 |
\alias{title}
|
| 13 |
\arguments{
|
13 |
\arguments{
|
| 14 |
\item{main}{The main title (on top) using font and size (character
|
14 |
\item{main}{The main title (on top) using font, size (character
|
| 15 |
expansion) \code{par("font.main")} and color
|
15 |
expansion) and color \code{par(c("font.main", "cex.main", "col.main"))}.}
|
| 16 |
\code{par("col.main")}.}
|
- |
|
| 17 |
\item{sub}{Sub-title (at bottom) using font and size
|
16 |
\item{sub}{Sub-title (at bottom) using font, size and color
|
| 18 |
\code{par("font.sub")} and color \code{par("col.sub")}.}
|
17 |
\code{par(c("font.sub", "cex.sub", "col.sub"))}.}
|
| 19 |
\item{xlab}{X axis label using font and character expansion
|
18 |
\item{xlab}{X axis label using font, size and color
|
| 20 |
\code{par("font.lab")} and color \code{par("col.lab")}.}
|
19 |
\code{par(c("font.lab", "cex.lab", "col.lab"))}.}
|
| 21 |
\item{ylab}{Y axis label, same font attributes as \code{xlab}.}
|
20 |
\item{ylab}{Y axis label, same font attributes as \code{xlab}.}
|
| 22 |
\item{line}{specifying a value for \code{line} overrides the
|
21 |
\item{line}{specifying a value for \code{line} overrides the
|
| 23 |
default placement of labels, and places them this many lines
|
22 |
default placement of labels, and places them this many lines
|
| 24 |
outwards from the plot edge.}
|
23 |
outwards from the plot edge.}
|
| 25 |
\item{outer}{a logical value. If \code{TRUE}, the titles are
|
24 |
\item{outer}{a logical value. If \code{TRUE}, the titles are
|