custom_plot_theme: Custom theme for ggplot plots

View source: R/customplottheme.R

custom_plot_themeR Documentation

Custom theme for ggplot plots

Description

Custom theme for ggplot plots

Usage

custom_plot_theme(
  google_font = "Roboto",
  title_colour = "#272928",
  general_colour = "azure4",
  background_colour = "#fcf8f7",
  legend_pos = "right",
  legend_dir = "vertical"
)

Arguments

google_font

font, from Google Fonts

title_colour

Colour for title and legend textx

general_colour

Colour for all other texts in plot

background_colour

Background colour

legend_pos

legend's position (default right)

legend_dir

legend's direction (defaul vertical)

Value

ggplot theme object


carlosyanez/customthemes documentation built on Aug. 25, 2022, 1:56 a.m.