powered by
Places minor breaks between major breaks.
regular_minor_breaks(reverse = FALSE)
if TRUE, calculates the minor breaks for a reversed scale
m <- extended_breaks()(c(1, 10)) regular_minor_breaks()(m, c(1, 10), n = 2) n <- extended_breaks()(c(0, -9)) regular_minor_breaks(reverse = TRUE)(n, c(0, -9), n = 2)
Run the code above in your browser using DataLab