Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 60ed66864d
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (30 sloc) 0.929 kB
\title{Inverse gray theme}
theme_igray(base_size = 12, base_family = "")
\item{base_size}{base font size}
\item{base_family}{base font family}
Inverts the colors in the \code{\link{theme_gray}}, a
white panel and a light gray area around it. This keeps a
white background, but with more gray, it keeps the plot
closer to the typographical color of the document, which
was the motivation for using a gray background in
\code{theme_gray}. This is also the style of plots in
Stata and Tableau.
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
(d <- qplot(carat, price, data=dsamp, colour=clarity)
+ theme_igray())
Other themes: \code{\link{theme_economist}},
\code{\link{theme_excel2003}}, \code{\link{theme_few}},
Jump to Line
Something went wrong with that request. Please try again.