Description Usage Arguments Examples
View source: R/min_max_breaks.R
Sets breaks in ggplot axis without regard to min and max limits of that axis
1 | min_max_breaks(.x, .step = 1)
|
.x |
the axis (usualy left blank in ggplot usage) |
.step |
the interval step for your breaks |
1 | ggplot(mtcars, aes(x=wt,y=mpg)) + geom_point() + scale_y_continuous(breaks = min_max_breaks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.