: theme_ubc() creates a theme using the University of British Columbia's visual identity to be used with ggplot2. See the visual identity at https://brand.ubc.ca/guidelines/downloads/ubc-colour-and-fonts/

theme_ubc(colour_use)

Arguments

colour_use

either 'fill' or 'colour' depending on the base plot.

Value

reformatted plot with the University of British Columbia's visual identity theme.

Examples

if (FALSE) { ggplot(data = mtcars, aes(x = hp, y = mpg, colour = as.factor(cyl))) + geom_point(size = 2.5) + theme_ubc('colour') } if (FALSE) { ggplot(data = mtcars, aes(x = hp, fill = as.factor(cyl))) + geom_density(alpha = 0.8) + theme_ubc('fill') }