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
)
base font size, given in pts.
base font family
base size for line elements
base size for rect elements
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)