You can use expansion constraints to expand the axis in only one direction. For instance:
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
expand_limits(y=c(NA, 50))
For your example, this would be:
plot + expand_limits(y=c(NA, 100))
. , . , . :
plot + expand_limits(y=100)
:
p = ggplot(mtcars, aes(wt, mpg)) +
geom_point()
p + expand_limits(y=-20)
p + expand_limits(y=200)
