Produce a colorkey typically for levelplot
draw.colorkey.RdCreates (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.
Arguments
- key
A list determining the key. See documentation for
levelplot, in particular the section describing thecolorkeyargument, for details.- draw
A scalar logical, indicating whether the grob is to be drawn.
- vp
The viewport in which to draw the grob, if applicable.
Author
Deepayan Sarkar Deepayan.Sarkar@R-project.org