Learn R Programming

simplevis (version 1.5.0)

theme_box: Theme for vertical box ggplots.

Description

Theme for vertical box ggplots.

Usage

theme_box(font_family = "Helvetica", font_size_title = 11,
  font_size_body = 10)

Arguments

font_family

Font family to use. Defaults to "Helvetica".

font_size_title

Font size for the title text. Defaults to 11.

font_size_body

Font size for all text other than the title. Defaults to 10.

Value

A ggplot theme.

Examples

Run this code
# NOT RUN {
ggplot2::ggplot() +
  theme_box("Courier", 9, 7) +
  ggplot2::ggtitle("This is a title of a selected font family and size")
# }

Run the code above in your browser using DataLab