ylim {ggplot2}R Documentation

Set y limits

Description

Convenience function to set the limits of the y axis.

Usage

ylim(...)

Arguments

...

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

ylim(15, 20)
ylim(c(10, 20))
ylim("a", "b", "c") 
qplot(mpg, wt, data=mtcars) + ylim(15, 20)

[Package ggplot2 version 0.8.2 Index]