Numeric position scales: Limits
- All scales have limits that specify the values of the aesthetic over which the scale is defined: ranges of the axes.
- By default, limits are calculated from the range of the data variable, but this can be bypassed with the
limits
argument in thescale()
function.
- Alternatively, you can also use
lims()
. - Or just
xlim()
orylim()