| ylim {ggplot2} | R Documentation |
Convenience function to set the limits of the y axis.
ylim(...)
... |
if numeric, will create a continuos scale, if factor or character, will create a discrete scale |
|
limits |
Hadley Wickham <h.wickham@gmail.com>
ylim(15, 20)
ylim(c(10, 20))
ylim("a", "b", "c")
qplot(mpg, wt, data=mtcars) + ylim(15, 20)