The R Project SVN R

Rev

Rev 25278 | Rev 36362 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25278 Rev 25323
Line 1... Line 1...
1
\name{grid.lines}
1
\name{grid.lines}
2
\alias{grid.lines}
2
\alias{grid.lines}
3
%- Also NEED an `\alias' for EACH other topic documented here.
-
 
4
\title{Draw Lines in a Grid Viewport}
3
\title{Draw Lines in a Grid Viewport}
5
\description{
4
\description{
6
  This function draws a series of lines within a Grid viewport.
5
  This function draws a series of lines within a Grid viewport.
7
}
6
}
8
\usage{
7
\usage{
9
grid.lines(x = unit(c(0, 1), "npc", units.per.obs),
8
grid.lines(x = unit(c(0, 1), "npc", units.per.obs),
10
       y = unit(c(0, 1), "npc", units.per.obs), 
9
       y = unit(c(0, 1), "npc", units.per.obs), 
11
       default.units = "npc", units.per.obs = FALSE,
10
       default.units = "npc", units.per.obs = FALSE,
12
       gp=gpar(), draw = TRUE, vp = NULL)
11
       gp=gpar(), draw = TRUE, vp = NULL)
13
}
12
}
14
%- maybe also `usage' for other objects documented here.
-
 
15
\arguments{
13
\arguments{
16
  \item{x}{A numeric vector or unit object specifying x-values.}
14
  \item{x}{A numeric vector or unit object specifying x-values.}
17
  \item{y}{A numeric vector or unit object specifying y-values.}
15
  \item{y}{A numeric vector or unit object specifying y-values.}
18
  \item{default.units}{A string indicating the default units to use
16
  \item{default.units}{A string indicating the default units to use
19
    if \code{x} or \code{y} are only given as numeric vectors.}  
17
    if \code{x} or \code{y} are only given as numeric vectors.}  
Line 35... Line 33...
35
\author{Paul Murrell}
33
\author{Paul Murrell}
36
\seealso{
34
\seealso{
37
  \link{Grid},
35
  \link{Grid},
38
  \code{\link{viewport}}
36
  \code{\link{viewport}}
39
}
37
}
40
 
-
 
41
\examples{
38
\keyword{dplot}
42
}
-
 
43
\keyword{ dplot }%-- one or more ...
-