Skip to content

Instantly share code, notes, and snippets.

@bharatbhole
Created February 4, 2012 13:25
Show Gist options
  • Save bharatbhole/1737868 to your computer and use it in GitHub Desktop.
Save bharatbhole/1737868 to your computer and use it in GitHub Desktop.
set background color to linen
# Set background color to linen in the basic plot
plt <- ggplot() + geom_line(data=df, aes(x=xcol, y=ycol)) +
opts(panel.background=theme_rect(fill='linen'))
print(plt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment