log10_minor_break: Log10 minor break function.

log10_minor_breakR Documentation

Log10 minor break function.

Description

This function is scavenged from Stackoverflow and automates log scale minor axis lines (https://stackoverflow.com/questions/30179442/plotting-minor-breaks-on-a-log-scale-with-ggplot).

Usage

log10_minor_break(...)

Arguments

x

Value

minor breaks object

Examples

ggplot(iris, aes(Petal.Width, Petal.Length, color = Species))+
  scale_x_continuous(trans = scales::log10_trans(),
                     minor_breaks = log10_minor_break())+
  geom_point()+
  publish(major_grid = T,
          minor_grid = T)

jrijn/streamlineR documentation built on July 4, 2025, 12:09 p.m.