View source: R/minorAxisTicks.R
minorAxisTicks | R Documentation |
Compute pretty mark locations for minor ticks, based on the way that traditional R graphics do it.
minorAxisTicks(usr, n = NULL, at.maj = NULL, extend = T)
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) |
minorAxis
, seq_log
This function is based on every_nth
, which suppresses values
every multiple of a given number.
minorAxisTicks(usr = c(-20, 620), n = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.