theme_clean: Minimal ggplot2 theme using the Ubuntu Condensed and Ubuntu...

View source: R/ggthemes.R

theme_cleanR Documentation

Minimal ggplot2 theme using the Ubuntu Condensed and Ubuntu fonts

Description

Minimal ggplot2 theme using the Ubuntu Condensed and Ubuntu fonts

Usage

theme_clean(
  base_font_family = "Ubuntu",
  base_font_size = 12,
  legend = "bottom",
  ...
)

Arguments

base_font_family

base font family

base_font_size

base font size

legend

legend position

...

Other arguments passed to theme_pubclean

Details

The Ubuntu Condensed and Ubuntu fonts are both Google fonts; they can be found at https://fonts.google.com/specimen/Ubuntu+Condensed and https://fonts.google.com/specimen/Ubuntu. These fonts must be installed locally on your computer for this theme to work.

Examples

## Not run: 
library(ggpubr)

ggplot(mtcars, aes(wt, mpg)) +
    geom_point() +
    labs(title = "A Lovely Plot",
         subtitle = "What can the subtitle tell us?") +
    theme_clean()

## End(Not run)


atsyplenkov/atslib documentation built on April 21, 2024, 11:59 p.m.