Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

imageSCALE

add scale on sice of image


Description

add scale to side of an image plot

Usage

imageSCALE(z, col, x, y = NULL, size = NULL, digits = 2,
labels = c("breaks", "ranges"), nlab = 10)

Arguments

z

elevation matrix

col

palette for plotting

x

x location on plot

y

y location on plot

size

length of scale

digits

digits on labels

labels

breaks to be plotted

nlab

number of breaks to be plotted

Value

Used for graphical side effect

Author(s)

Jonathan M. Lees <jonathan.lees@unc.edu>

Examples

data(volcano)
image(volcano, col=rainbow(100) )

imageSCALE(volcano, rainbow(100), 1.015983, y = 0.874668,
size = .01, digits =
2, labels = "breaks", nlab = 20)

RFOC

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

v3.4-6
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Keehoon Kim [ctb]
Initial release
2018-01-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.