Learn R Programming

broman (version 0.84)

theme_karl: Karl's ggplot2 theme

Description

Karl's ggplot2 theme: black border and no ticks

Usage

theme_karl(base_size = 12, base_family = "", ...)

karl_theme(base_size = 12, base_family = "", ...)

Value

An object as returned by ggplot2::theme()

Arguments

base_size

Base font size

base_family

Base font family

...

Passed to ggplot2::theme()

See Also

Examples

Run this code
library(ggplot2)
mtcars$cyl <- factor(mtcars$cyl)
ggplot(mtcars, aes(y=mpg, x=disp, color=cyl)) +
    geom_point() + theme_karl()

Run the code above in your browser using DataLab