plotting-themes | R Documentation |
Formats a ggplot object for neat plotting.
LinePlotTheme()
EmptyTheme()
LinePlotTheme()
creates ggplot
object with a white background, a relatively large font, and grid lines. EmptyTheme()
on the other hand creates a ggplot
object with no axes or legends.
Object of class ggplot
## Not run:
X <- data.frame(x=runif(100),y = runif(100), z = runif(100))
LinePlotTheme() + geom_point(data=X,aes(x,y,colour=z))
EmptyTheme() + geom_point(data=X,aes(x,y,colour=z))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.