Learn R Programming

paintmap (version 1.0)

paintmap: Plot paintmap

Description

Plot paintmap

Usage

paintmap(x, add = FALSE, ...)

Arguments

x
Character matrix of colours
add
Add ink to current viewport.
...
Other graphical parameters for the rectangles of the grid to pass to grid function gpar, in turn passed to grid function grid.rect.

Value

Plots heatmap.

Examples

Run this code
paintmap(matrix(heat.colors(9), 3, 3, dimnames=list(letters[1:3], letters[4:6])))

Run the code above in your browser using DataLab