In my study I am generating various graphs using R. I see that most of the graphs come up with a Sans Serif type font with various sizes.
How to I change all the te
UPDATE 2020
This can now be solved by using the ggtext package, e.g.:
install.packages(ggtext)
plot <- plot + theme(
legend.text = ggtext::element_markdown(family = 'Times', face='bold')
)
In addition, you can use markdown to complement your plot text. I experienced ggtext simpler and more fail safe than extrafont.