Debian Codegraph @

man/p.arrows.Rd

raw
1 \name{p.arrows}
2 \alias{p.arrows}
3 \title{Prettified Arrows Plots}
4 \description{
5 Draws arrows, like the \code{\link{arrows}} function, but with
6 \dQuote{nice} \emph{filled} arrow heads.
7 }
8 \usage{
9 p.arrows(x1, y1, x2, y2, size = 1, width, fill = 2, ...)
10 }
11 \arguments{
12 \item{x1, y1}{coordinates of points \bold{from} which to draw.}
13 \item{x2, y2}{coordinates of points \bold{to} which to draw.}
14 \item{size}{symbol size as a fraction of a character height; default 1.}
15 \item{width}{width of the arrow head; defaults to ....}%fixme (code => ??)
16 \item{fill}{color for filling the arrow head.}
17 \item{\dots}{further arguments passed to \code{\link{segments}()}.}
18 }
19 \author{Andreas Ruckstuhl, 19 May 1994; (cosmetic by MM).}
20 \seealso{\code{\link{arrows}}.}
21 \examples{
22 example(arrows, echo = FALSE) #-> x, y, s
23 plot(x,y, main="p.arrows(.)")
24 p.arrows(x[s], y[s], x[s+1], y[s+1], col= 1:3, fill = "dark blue")
25 }
26 \keyword{aplot}
27