Description Usage Arguments Author(s) Examples
Force to extend the coordinate range of the ggplot object.
1 | expand_axis(x = NULL, y = NULL)
|
x, y |
NULL (default) or numeric vector. |
Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei
1 2 | quickcor(mtcars) + geom_square() + expand_axis(x = -3)
quickcor(mtcars) + geom_square() + expand_axis(y = 16)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.