-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathdrawLegend.Rd
43 lines (37 loc) · 997 Bytes
/
drawLegend.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/draw.R
\name{drawLegend}
\alias{drawLegend}
\title{Draw a legend beneath the plot}
\usage{
drawLegend(
fish,
xpos = 0,
ypos = -5,
nrow = NULL,
cex = 1,
widthratio = NULL,
xsp = 1
)
}
\arguments{
\item{fish}{A fish object}
\item{xpos}{The x coordinate at which to draw the left side of the legend (default 0)}
\item{ypos}{The y coordinate at which to draw the top of the legend (default -5)}
\item{nrow}{An integer number of rows which should be used for the legend}
\item{cex}{A numerical value giving the amount by which the legend should be magnified relative to the default.}
\item{widthratio}{adjusts width of columns relative to longest legend entry (smaller value = more spacing)}
\item{xsp}{horizontal spacing factor}
}
\value{
No return value, outputs on graphics device
}
\description{
Draw a legend beneath the plot
}
\examples{
\dontrun{
drawLegend(fish)
drawLegend(fish, 20, -20, 3)
}
}