how do I change font size in a ggeffects plot()? #551
Replies: 1 comment
-
I figured it out myself, sorry to bother. For those that come across this thread afterwards with the same question, you cannot put any font change arguments in the same parenthetical as the plot(); instead, you add it to the plot line with a "+". For example: plot(ggpredict(model1, terms = c("predictor1", "predictor2"))) + theme_ggeffects(base_size = 20, base_family = "serif") |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
First of all, I just started using your package and I LOVE it. However, I am trying to produce publication-quality plots of my ggpredict objects and I am struggling to change the font size of axis labels, axis titles, and legend font. I have read the help documents for ggeffects' plot() function, but I cannot understand which argument to use to edit font size and how to code it. Thank you!
-Morgan
Beta Was this translation helpful? Give feedback.
All reactions