theme_ntnu: Add NTNU theme to ggplot chart

Description Usage Arguments Examples

Description

Add NTNU theme to ggplot chart

Usage

1
theme_ntnu(base_size = 11, base_family = "")

Arguments

base_size

Basis for text and line sizes

base_family

Base font family

Examples

1
2
3
4
line <- ggplot2::ggplot(line_df, aes(x = year, y = lifeExp)) +
ggplot2::geom_line(colour = "#007f7f", size = 1) +
ggplot2::geom_hline(yintercept = 0, size = 1, colour="#333333") +
theme_ntnu()

henrikkarlstrom/ntnupal documentation built on May 3, 2020, 6:55 p.m.