theme_barlow: Barlow theme function

Description Usage Arguments Examples

View source: R/use_custom_theme.R

Description

This function builds upon the ggplot2::theme_minimal() theme and adds/rearranges some grid elements.

Usage

1
theme_barlow(base_size = 14)

Arguments

base_size

Defining the base size of the font.

Examples

1
2
3
4
5
library(ggplot2)
library(showtext)
showtext_auto() # Necessary for certain graphics devices to display the custom font

ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_barlow()

L-Groeninger/plotutils documentation built on Dec. 18, 2021, 3:38 a.m.