draw.colorkey: Produce a Colorkey for levelplot

Description Usage Arguments Value Author(s) See Also

View source: R/legend.R

Description

Produces (and possibly draws) a Grid frame grob which is a colorkey that can be placed in other Grid plots. Used in levelplot

Usage

1
draw.colorkey(key, draw=FALSE, vp=NULL)

Arguments

key

A list determining the key. See documentation for levelplot, in particular the section describing the colorkey argument, for details.

draw

logical, whether the grob is to be drawn.

vp

viewport

Value

A Grid frame object (that inherits from "grob")

Author(s)

Deepayan Sarkar Deepayan.Sarkar@R-project.org

See Also

xyplot


lattice documentation built on May 31, 2017, 4:47 a.m.

Search within the lattice package
Search all R packages, documentation and source code