Custom clean ggplot themes for research publications by setting default base font size at 9pt, base line width at 0.18mm and base font family at "Helvatica".
source("https://raw.githubusercontent.com/alan-feng/ggplot_theme_publication/main/ggtheme_publication.R")
theme_boxboarder
: box boarder style based on ggplot themetheme_bw
theme_lboarder
: L boarder style based on ggplot themetheme_classic
ggplot() +
... +
theme_boxboarder(
# change default base setting here if needed
base_size = ,
base_family = "",
base_rect_size = ,
base_line_size =
) +
theme(
# add extra plot-specific theme settings here
)