minorAxisTicks {StratigrapheR}R Documentation

Compute Pretty Minor Axis Tick Scales

Description

Compute pretty mark locations for minor ticks, based on the way that traditional R graphics do it.

Usage

minorAxisTicks(usr, n = NULL, at.maj = NULL, extend = T)

Arguments

usr

the user coordinates of the minimum and maximum limits of the axis

n

the number of intervals defined by the minor ticks

at.maj

the positions at which major tick-marks are to be drawn. By default (when NULL) tickmark locations are computed buy the axisTicks function

extend

whether to add minor ticks even outside the major ticks (T) or not (F)

See Also

minorAxis, seq_log

This function is based on every_nth, which suppresses values every multiple of a given number.

Examples

minorAxisTicks(usr = c(-20, 620), n = 10)


[Package StratigrapheR version 1.3.1 Index]