Skip to contents

This function creates a custom theme for time series plots using the MNB (Magyar Nemzeti Bank) style guidelines.

Usage

theme_mnb_ts(base_size = 20, remove_xlab = TRUE, remove_ylab = TRUE)

Arguments

base_size

Base font size for the theme. Default is inherited from ggplot2::theme_minimal().

Value

A ggplot2 theme object.

Examples

ggplot2::ggplot(economics, aes(x = date, y = unemploy)) +
  ggplot2::geom_line(color = "#18223e", linewidth = 1.1) +
  theme_mnb_ts()