The R Project SVN R

Rev

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

Rev 59039 Rev 61433
Line 31... Line 31...
31
  \item{id.lengths}{A numeric vector used to separate locations in \code{x} and
31
  \item{id.lengths}{A numeric vector used to separate locations in \code{x} and
32
    \code{y} into multiple polygons.  Specifies consecutive blocks of
32
    \code{y} into multiple polygons.  Specifies consecutive blocks of
33
    locations which make up separate polygons.}
33
    locations which make up separate polygons.}
34
  \item{default.units}{A string indicating the default units to use
34
  \item{default.units}{A string indicating the default units to use
35
    if \code{x}, \code{y}, \code{width}, or \code{height}
35
    if \code{x}, \code{y}, \code{width}, or \code{height}
36
    are only given as numeric vectors.}  
36
    are only given as numeric vectors.}
37
  \item{name}{ A character identifier. }
37
  \item{name}{ A character identifier. }
38
  \item{gp}{An object of class \code{gpar}, typically the output
38
  \item{gp}{An object of class \code{gpar}, typically the output
39
    from a call to the function \code{gpar}.  This is basically
39
    from a call to the function \code{gpar}.  This is basically
40
    a list of graphical parameter settings.}
40
    a list of graphical parameter settings.}
41
  \item{draw}{A logical value indicating whether graphics output
41
  \item{draw}{A logical value indicating whether graphics output
Line 46... Line 46...
46
  A grob object.
46
  A grob object.
47
}
47
}
48
\details{
48
\details{
49
  Both functions create a polygon grob (a graphical object describing a
49
  Both functions create a polygon grob (a graphical object describing a
50
  polygon), but only \code{grid.polygon}
50
  polygon), but only \code{grid.polygon}
51
  draws the polygon (and then only if \code{draw} is \code{TRUE}).  
51
  draws the polygon (and then only if \code{draw} is \code{TRUE}).
52
}
52
}
53
\author{Paul Murrell}
53
\author{Paul Murrell}
54
\seealso{
54
\seealso{
55
  \link{Grid},
55
  \link{Grid},
56
  \code{\link{viewport}}
56
  \code{\link{viewport}}