: theme_mcgill() creates a theme using the McGill University's visual identity to be used with ggplot2. See the visual identity at https://www.mcgill.ca/visual-identity/visual-identity-guide

theme_mcgill(colour_use)

Arguments

colour_use

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

Value

reformatted plot with McGill University'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_mcgill('colour') } if (FALSE) { ggplot(data = mtcars, aes(x = hp, fill = as.factor(cyl))) + geom_density(alpha = 0.8) + theme_mcgill('fill') }