theme_jbk: My ggplot2 go-to theme inspired by 'hrbrthemes'

Description Usage Arguments Examples

View source: R/ggtheme.R

Description

My ggplot2 go-to theme inspired by hrbrthemes

Usage

1
2
theme_jbk(base_family = "", plot_title_face = "plain",
  plot_title_size = 14, ...)

Arguments

base_family

base_family

plot_title_face

plot_title_face

plot_title_size

plot_title_size

...

Parameters for hrbrthemes::theme_ipsum

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(ggplot2)
library(hrbrthemes)

ggplot(mtcars) +
  geom_point(aes(mpg, hp, color = factor(carb)), size = 2.5) +
  scale_color_ipsum() +
  labs(x="Fuel effiiency (mpg)", y="Weight (tons)",
       title="Seminal ggplot2 scatterplot example",
       subtitle="A plot that is only useful for demonstration purposes",
       caption="Brought to you by the letter 'g'") +
 theme_jbk()

jbkunst/jbkmisc documentation built on Nov. 8, 2019, 11:40 a.m.