Learn R Programming

cowplot (version 0.5.0)

theme_cowplot: Create the default cowplot theme

Description

After loading the cowplot package, this theme will be the default for all graphs made with ggplot2.

Usage

theme_cowplot(font_size = 14, font_family = "", line_size = 0.5)

Arguments

font_size
Overall font size. Default is 14.
font_family
Default font family.
line_size
Default line size.

Value

  • The theme.

Examples

Run this code
qplot(1:10, (1:10)^2) + theme_cowplot(font_size = 15)

Run the code above in your browser using DataLab