Minor Tick Marks

DESCRIPTION:

Adds minor tick marks to an existing plot. All minor tick marks that will fit on the axes will be drawn.

USAGE:

minor.tick(nx=2, ny=2, tick.ratio=0.5)

ARGUMENTS:

nx
number of intervals in which to divide the area between major tick marks on the X-axis. Set to 1 to suppress minor tick marks.
ny
same as nx but for the Y-axis
tick.ratio
ratio of lengths of minor tick marks to major tick marks. The length of major tick marks is retrieved from par("tck").

AUTHOR(S):

Frank Harrell
Department of Biostatistics
Vanderbilt University
f.harrell@vanderbilt.edu

SEE ALSO:

EXAMPLES:

plot(runif(20),runif(20))
minor.tick()