| Line 27... |
Line 27... |
| 27 |
\item{col}{the color for filling the polygon.
|
27 |
\item{col}{the color for filling the polygon.
|
| 28 |
The default, \code{NA}, is to leave polygons unfilled.}
|
28 |
The default, \code{NA}, is to leave polygons unfilled.}
|
| 29 |
\item{border}{the color to draw the border. The default, \code{NULL},
|
29 |
\item{border}{the color to draw the border. The default, \code{NULL},
|
| 30 |
uses \code{\link{par}("fg")}. Use \code{border = NA} to omit borders.
|
30 |
uses \code{\link{par}("fg")}. Use \code{border = NA} to omit borders.
|
| 31 |
|
31 |
|
| 32 |
For compatibility with S, \code{border} can also be logical, it
|
32 |
For compatibility with S, \code{border} can also be logical, in
|
| 33 |
which case \code{FALSE} is equivalent to \code{NA} (borders omitted)
|
33 |
which case \code{FALSE} is equivalent to \code{NA} (borders omitted)
|
| 34 |
and \code{TRUE} is equivalent to \code{NULL} (use the foreground colour),
|
34 |
and \code{TRUE} is equivalent to \code{NULL} (use the foreground colour),
|
| 35 |
}
|
35 |
}
|
| 36 |
\item{lty}{the line type to be used, as in \code{\link{par}}.}
|
36 |
\item{lty}{the line type to be used, as in \code{\link{par}}.}
|
| 37 |
\item{xpd}{(where) should clipping take place? Defaults to
|
37 |
\item{xpd}{(where) should clipping take place? Defaults to
|
| Line 58... |
Line 58... |
| 58 |
the values of \code{density}, \code{angle}, \code{col}, \code{border},
|
58 |
the values of \code{density}, \code{angle}, \code{col}, \code{border},
|
| 59 |
and \code{lty} are recycled in the usual manner.
|
59 |
and \code{lty} are recycled in the usual manner.
|
| 60 |
}
|
60 |
}
|
| 61 |
\section{Bugs}{
|
61 |
\section{Bugs}{
|
| 62 |
The present shading algorithm can produce incorrect results for
|
62 |
The present shading algorithm can produce incorrect results for
|
| 63 |
self-intesecting polygons.
|
63 |
self-intersecting polygons.
|
| 64 |
}
|
64 |
}
|
| 65 |
\author{The code implementing polygon shading was donated by
|
65 |
\author{The code implementing polygon shading was donated by
|
| 66 |
Kevin Buhr \email{buhr@stat.wisc.edu}.}
|
66 |
Kevin Buhr \email{buhr@stat.wisc.edu}.}
|
| 67 |
}
|
67 |
}
|
| 68 |
\references{
|
68 |
\references{
|