regular_minor_breaks: Minor breaks

View source: R/minor_breaks.R

regular_minor_breaksR Documentation

Minor breaks

Description

Places minor breaks between major breaks.

Usage

regular_minor_breaks(reverse = FALSE)

Arguments

reverse

if TRUE, calculates the minor breaks for a reversed scale

Examples

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)

scales documentation built on Aug. 20, 2022, 1:05 a.m.