
theme_igray(base_size = 12, base_family = "")
theme_gray
, a
white panel and a light gray area around it. This keeps a white
background for the color scales like theme_bw
. But
by using a gray background, the plot is closer to the
typographical color of the document, which is the motivation for
using a gray panel in theme_gray
. This is
similar to the style of plots in Stata and Tableau.theme_gray
, theme_bw
Other themes: theme_foundation
;
theme_solid
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
(d <- qplot(carat, price, data=dsamp, colour=clarity)
+ theme_igray())
Run the code above in your browser using DataLab