| set_axis_limits | R Documentation |
set_limits() sets limits in the viewing panel of a ggplot object.
set_axis_limits(gg_obj, xlim = NULL, ylim = NULL)
gg_obj |
A |
xlim |
The limits for the x axis, in the scale of the x axis |
ylim |
The limits for the y axis, in the scale of the y axis |
The modified ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.