plotting-themes function

Plotting themes

Plotting themes

Formats a ggplot object for neat plotting.

LinePlotTheme() EmptyTheme()

Returns

Object of class ggplot

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.

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)
  • Maintainer: Andrew Zammit-Mangion
  • License: GPL (>= 2)
  • Last published: 2024-07-16