powered by
add scale to side of an image plot
imageSCALE(z, col, x, y = NULL, size = NULL, digits = 2, labels = c("breaks", "ranges"), nlab = 10)
Used for graphical side effect
elevation matrix
palette for plotting
x location on plot
y location on plot
length of scale
digits on labels
breaks to be plotted
number of breaks to be plotted
Jonathan M. Lees <jonathan.lees@unc.edu>
data(volcano) image(volcano, col=rainbow(100) ) imageSCALE(volcano, rainbow(100), 1.015983, y = 0.874668, size = .01, digits = 2, labels = "breaks", nlab = 20)
Run the code above in your browser using DataLab