HOZscale: add horizontal color scale

Description Usage Arguments Value Author(s) Examples

Description

Add horizontal color scale to existing plot.

Usage

1
HOZscale(z, col, units = "", SIDE = 1, s1 = 0.4, s2 = 0.95)

Arguments

z

image matrix

col

color palette

units

character string, units

SIDE

Side of the plot

s1

percent of margin for bottom

s2

percent of margin for top

Value

Graphical Side effect

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples

1
2
3
4
data(volcano)
image(volcano, col=terrain.colors(100))

HOZscale(volcano,terrain.colors(100) , units = "", SIDE = 1, s1 = 0.4, s2 = 0.95)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.