draw.colorkey
Produce a colorkey typically for levelplot
Description
Creates (and optionally draws) a grid frame grob representing a color key that can be placed in other grid-based plots. Primarily used by levelplot
when a color key is requested.
Usage
draw.colorkey(key, draw = FALSE, vp = NULL)
Arguments
key | A list determining the key. See documentation for |
draw | A scalar logical, indicating whether the grob is to be drawn. |
vp | The viewport in which to draw the grob, if applicable. |
Value
A grid frame object (that inherits from "grob"
)
Author(s)
Deepayan Sarkar [email protected]
See Also
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.