View source: R/customplottheme.R
| custom_plot_theme | R Documentation |
Custom theme for ggplot plots
custom_plot_theme( google_font = "Roboto", title_colour = "#272928", general_colour = "azure4", background_colour = "#fcf8f7", legend_pos = "right", legend_dir = "vertical" )
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) |
ggplot theme object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.