Description Usage Format Value Functions Examples
logrange_1
returns a vector for log-labels at .1, 1, 100, 1000 ...
1 2 3 4 5 6 7 8 9 |
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.
numeric vector
numeric vector
logrange_5
: vector for log-labels at
1.0, 1.5, 2.0, 2.5 ... 10, 15, 20, 25 ...
logrange_123456789
: vector for log-labels at
1, 2, 3 ... 9, 10, 20, 30 ... 90, 100 ...
logrange_12357
: vector for log-labels at
1 ,2, 3, 5, 7, 10, 20 ,30, 50, 70 ...
logrange_15
: vector for log-labels at
1, 5, 10, 50 ...
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.