Provides breaks for major and minor log-transformed scales.

log_breaks(base = 10, max.exp = 7, min.exp = 0)

major_log_breaks(base = 10, max.exp = 7, min.exp = 0)

minor_log_breaks(base = 10, max.exp = 7, min.exp = 0)

Arguments

base

Log base

max.exp, min.exp

range of exponents to return

Functions

  • log_breaks(): Log breaks

  • major_log_breaks(): Major log breaks

  • minor_log_breaks(): Minor log breaks

Examples

log_breaks(base=10, max.exp=2)
#>  [1]   1   2   3   4   5   6   7   8   9  10  20  30  40  50  60  70  80  90 100

major_log_breaks(base=10, max.exp=2)
#> [1]   1  10 100

minor_log_breaks(base=10, max.exp=2)
#>  [1]  2  3  4  5  6  7  8  9 20 30 40 50 60 70 80 90