xgx_minor_breaks_log10: Sets the default minor_breaks for log10 scales

View source: R/xgx_minor_breaks_log10.R

xgx_minor_breaks_log10R Documentation

Sets the default minor_breaks for log10 scales

Description

xgx_minor_breaks_log10 sets nice minor_breaks for log10 scale.

Usage

xgx_minor_breaks_log10(data_range)

Arguments

data_range

range of the data

Value

numeric vector of breaks

Examples

xgx_minor_breaks_log10(c(1, 1000))
xgx_minor_breaks_log10(c(0.001, 100))
xgx_minor_breaks_log10(c(1e-4, 1e4))
xgx_minor_breaks_log10(c(1e-9, 1e9))
xgx_minor_breaks_log10(c(1, 2))
xgx_minor_breaks_log10(c(1, 5))
xgx_minor_breaks_log10(c(1, 10))
xgx_minor_breaks_log10(c(1, 100))
xgx_minor_breaks_log10(c(1, 1.01))
xgx_minor_breaks_log10(c(1, 1.0001))
print(xgx_minor_breaks_log10(c(1, 1.000001)), digits = 10)


xgxr documentation built on March 31, 2023, 11:46 p.m.