| Line 1... |
Line 1... |
| 1 |
% File src/library/grid/man/legendGrob.Rd
|
1 |
% File src/library/grid/man/legendGrob.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 2013 R Core Team
|
3 |
% Copyright 2013-2020 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{legendGrob}
|
6 |
\name{legendGrob}
|
| 7 |
\title{Constructing a Legend Grob}
|
7 |
\title{Constructing a Legend Grob}
|
| 8 |
\alias{legendGrob}
|
8 |
\alias{legendGrob}
|
| Line 31... |
Line 31... |
| 31 |
\item{vgap}{vertical space between the legend entries}
|
31 |
\item{vgap}{vertical space between the legend entries}
|
| 32 |
\item{default.units}{default units, see \code{\link{unit}}.}
|
32 |
\item{default.units}{default units, see \code{\link{unit}}.}
|
| 33 |
\item{pch}{legend symbol, numeric or character, passed to
|
33 |
\item{pch}{legend symbol, numeric or character, passed to
|
| 34 |
\code{\link{pointsGrob}()}; see also \code{\link[graphics]{points}} for
|
34 |
\code{\link{pointsGrob}()}; see also \code{\link[graphics]{points}} for
|
| 35 |
interpretation of the numeric codes.}
|
35 |
interpretation of the numeric codes.}
|
| 36 |
\item{gp}{an \R object of class \code{gpar}, typically the output
|
36 |
\item{gp}{an \R object of class \code{"gpar"}, typically the output
|
| 37 |
from a call to the function \code{gpar}, is basically a list of
|
37 |
from a call to the function \code{\link{gpar}}, is basically a list of
|
| 38 |
graphical parameter settings.}
|
38 |
graphical parameter settings.}
|
| 39 |
\item{vp}{a Grid \code{\link{viewport}} object (or \code{NULL}).}
|
39 |
\item{vp}{a Grid \code{\link{viewport}} object (or \code{NULL}).}
|
| 40 |
\item{\dots}{for \code{grid.legend()}: all the arguments above are
|
40 |
\item{\dots}{for \code{grid.legend()}: all the arguments above are
|
| 41 |
passed to \code{legendGrob()}.}
|
41 |
passed to \code{legendGrob()}.}
|
| 42 |
\item{draw}{logical indicating whether graphics output should be produced.}
|
42 |
\item{draw}{logical indicating whether graphics output should be produced.}
|