how to fix y range in ggplot2 code example Example: ggplot2 change axis limits ggplot(mtcars, aes(mpg, wt)) + geom_point() + xlim(20, 15)