https://github.com/cran/lattice
Raw File
Tip revision: 764a86fd92c1f16dc3ddd0dd2c0e12d72f3c20ed authored by Deepayan Sarkar on 19 September 2006, 00:00:00 UTC
version 0.14-5
Tip revision: 764a86f
draw.key.Rd
\name{draw.key}
\alias{draw.key}
\title{Produce a Legend or Key}
\description{
  Produces (and possibly draws) a Grid frame grob which is a legend (aka 
  key) that can be placed in other Grid plots.
}
\usage{
draw.key(key, draw=FALSE, vp=NULL)
}
\arguments{
  \item{key}{ A list determining the key. See documentation for
    \code{xyplot}, in particular the section describing the \code{key}
    argument, for details.
  }
  \item{draw}{ logical, whether the grob is to be drawn. }
  \item{vp}{ viewport }
}
\value{
  A Grid frame object (that inherits from \sQuote{grob}).
}
\author{Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}}
\seealso{\code{\link{xyplot}}}
\keyword{dplot}

back to top