HOZtics: Add tics to Horizontal Scale

View source: R/HOZtics.R

HOZticsR Documentation

Add tics to Horizontal Scale

Description

Add tics and levels to color scale for am image plot.

Usage

HOZtics(HOZ, side = 1)

Arguments

HOZ

Output coordinates of HOZscale

side

1=above, 2=below

Details

The levels are determined via the pretty function.

Author(s)

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

See Also

ColorScale

Examples


pal1 = terrain.colors(100)
Z = c(1,40)
plot(c(0,1), c(0,1) )
hs = HOZscale(Z, col=pal1)
HOZtics(hs, side=1)


RPMG documentation built on Aug. 19, 2023, 5:12 p.m.