Skip to contents

This function allows you to add the SCW theme to your ggplot graphics.

Usage

theme_scw(base_size = 15, base_family = "sans", grid_y = TRUE, grid_x = TRUE)

Arguments

base_size

base font size, given in pts (default = 15)

base_family

base font family (default = "sans")

grid_y

show major panel grid lines on y-axis (default = TRUE)

grid_x

show major panel grid lines on x-axis (default = TRUE)

Examples

library(ggplot2)

ggplot(mpg, aes(displ, cty)) +
  geom_point() +
  theme_scw()