This function applies custom styling to various elements of ggplot2 plots, including title, subtitle, caption, axis text, axis titles, and legend text and legend titles.
Arguments
- base_size
The base font size to use for the plot elements. Default is 12.
- base_family
The base font family to use for the plot elements. Default is "".
Details
This function builds upon the theme_minimal()
function in ggplot2 but overrides
specific theme elements to provide a customized look and feel for plots.