Changing plot titles and font size possible? #204
Unanswered
foxtrotduck
asked this question in
Q&A
Replies: 1 comment
-
|
The font size is controlled through the theme, which is standard ggplot stuff. Just remember to use the draw(m) & theme_grey(base_size = 9)for example would set the base font size to 9 points, while still using the default theme. As for the titles, axis labels, no, that's not something that can be changed. If you want full control, using smooth_estimates(m, smooth = "s(air_press)") |>
draw(xlab = "Air Pressure", title = "s(Air Pressure)")for more control and smooth_estimates(m, smooth = "s(air_press)") |>
add_confint() |>
ggplot(....)for complete control. You can save those plots and then combine them into a patchwork using I could look into allowing the user to pass a vector of titles for the plots, but that is not high on my priority list. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
When using draw for a multi-plot gam, is it possible to change the name of the variables (e.g., from "air_press" to "Air Pressure") and/or change font size for the plots? See plot below created with
Beta Was this translation helpful? Give feedback.
All reactions