Learn R Programming

quantable (version 0.3.6)

imageColorscale: if you need an colorscale to you imagelables use this

Description

if you need an colorscale to you imagelables use this

Usage

imageColorscale(x, cex = 1, cex.axis = 0.5, col = heat.colors(12),
  digits = 2, zlim = NULL, breaks)

Arguments

x

data the data matrix

cex

cex

cex.axis

cex.axis

col

colors used

digits

number of digits on color scale, default 2

zlim

zlim

breaks

optional argument passed to image (see image for more details)

Examples

Run this code
# NOT RUN {
x = matrix(rnorm(20*30, 5),ncol=20)
rownames(x) <- 1:30
colnames(x) <- letters[1:20]
imageColorscale(x)
imageColorscale(x,col=getBlueWhiteRed(), zlim=c(-1,1))
imageColorscale(x,col=getBlueWhiteRed(), zlim=c(-5,5))
# }

Run the code above in your browser using DataLab