File: opts-mp.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 (21 lines) | stat: -rw-r--r-- 441 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
\name{opts}
\alias{opts}
\title{Plot options}
\author{Hadley Wickham <h.wickham@gmail.com>}

\description{
Set options/theme elements for a single plot
}
\usage{opts(...)}
\arguments{
\item{...}{named list of theme settings}
}

\details{Use this function if you want to modify a few theme settings for
a single plot.}

\examples{p <- qplot(mpg, wt, data = mtcars)
p 
p + opts(panel_background = theme_rect(colour = "pink"))
p + theme_bw()}