plotting-themes: Plotting themes

plotting-themesR Documentation

Plotting themes

Description

Formats a ggplot object for neat plotting.

Usage

LinePlotTheme()

EmptyTheme()

Details

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.

Value

Object of class ggplot

Examples

## 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)

FRK documentation built on Sept. 11, 2024, 7:14 p.m.