logrange_1: Predefined sets of labels for plots with log-scaled axes

Description Usage Format Value Functions Examples

Description

logrange_1 returns a vector for log-labels at .1, 1, 100, 1000 ...

Usage

1
2
3
4
5
6
7
8
9

Format

An object of class numeric of length 41.

An object of class numeric of length 738.

An object of class numeric of length 369.

An object of class numeric of length 205.

An object of class numeric of length 82.

Value

numeric vector

numeric vector

Functions

Examples

1
2
3
4
5
6
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  scale_y_log10(breaks = logrange_5)
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  scale_y_log10(breaks = logrange_123456789)

wrappedtools documentation built on Sept. 6, 2021, 5:08 p.m.