File: xlim-db.rd

package info (click to toggle)
r-cran-ggplot2 0.8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,084 kB
  • sloc: makefile: 3
file content (22 lines) | stat: -rw-r--r-- 455 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\name{xlim}
\alias{xlim}
\title{Set x limits}
\author{Hadley Wickham <h.wickham@gmail.com>}

\description{
Convenience function to set the limits of the x axis.
}
\usage{xlim(...)}
\arguments{
\item{...}{if numeric, will create a continuos scale, if factor or character, will create a discrete scale}
\item{}{limits}
}



\examples{xlim(15, 20)
xlim(20, 15)
xlim(c(10, 20))
xlim("a", "b", "c") 
qplot(mpg, wt, data=mtcars) + xlim(15, 20)}
\keyword{hplot}