extra_breaks | R Documentation |
Add extra breaks to default breaks of scale_continuous
.
extra_breaks(extras)
extras |
a numeric vector of extra breaks. |
ggplot(mpg, aes(displ, hwy)) +
geom_point() +
scale_y_continuous(breaks = extra_breaks(25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.