Derived from ggplot2::theme_classic(), a classic-looking theme with x and y axis lines and no gridlines. Additionally dropped x and y axis labels, reduced plot margin.

theme_iea(
  base_size = 14,
  base_family = "",
  base_line_size = base_size/28,
  base_rect_size = base_size/28
)

Arguments

base_size

base font size, given in pts.

base_family

base font family

base_line_size

base size for line elements

base_rect_size

base size for rect elements

Value

Examples

library(ggplot2)

# default ggplot2 theme
plot_ts(ts1) + theme_gray()


# slimmed down ggplot2 theme
plot_ts(ts1) + theme_classic()


# this custom IEA theme, the default theme to plot_ts()
plot_ts(ts1, theme_plot = theme_iea)