File: multsymbolbox.Rd

package info (click to toggle)
r-cran-plotrix 2.9-3-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 960 kB
  • sloc: makefile: 3
file content (33 lines) | stat: -rw-r--r-- 971 bytes parent folder | download | duplicates (8)
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
\name{multsymbolbox}
\alias{multsymbolbox}
\title{Draw boxes filled with symbols}
\description{
 Draw boxes on the current figure filled with symbols representing
 individual counts.
}
\usage{
 multsymbolbox(x1,y1,x2,y2,tot,relw=0.8,fg=par("fg"),bg=par("bg"),
  box=TRUE,debug=FALSE,...)
}
\arguments{
 \item{x1}{numeric vector: left sides of boxes}
 \item{y1}{numeric vector: bottom sides of boxes}
 \item{x2}{numeric vector: right sides of boxes}
 \item{y2}{numeric vector: top sides of boxes}
 \item{tot}{numeric vector: total numbers of symbols to put in each box}
 \item{relw}{relative width (relative to height) of symbols}n
 \item{fg}{foreground color(s)}
 \item{bg}{background color(s)}
 \item{box}{(logical) draw box borders?}
 \item{debug}{debug output?}
 \item{\dots}{additional arguments to polygon() for drawing boxes}
}
\value{
 none
}
\author{Ben Bolker}
\examples{
 plot(1:10,1:10,type="n")
 multsymbolbox(c(2,4),5,c(4,5),8,tot=c(10,8))
}
\keyword{aplot}