\HeaderA{draw.colorkey}{Produce a Colorkey for levelplot}{draw.colorkey}
\keyword{dplot}{draw.colorkey}
\begin{Description}\relax
Produces (and possibly draws) a Grid frame grob which is a colorkey
that can be placed in other Grid plots. Used in levelplot
\end{Description}
\begin{Usage}
\begin{verbatim}
draw.colorkey(key, draw=FALSE, vp=NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{key}] A list determining the key. See documentation for
\code{levelplot}, in particular the section describing the
\code{colorkey} argument, for details.

\item[\code{draw}] logical, whether the grob is to be drawn. 
\item[\code{vp}] viewport 
\end{ldescription}
\end{Arguments}
\begin{Value}
A Grid frame object (that inherits from \code{"grob"})
\end{Value}
\begin{Author}\relax
Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{xyplot}{xyplot}}
\end{SeeAlso}

