Default Font Size ggplot, axis.text

I would like to know the default font size for the axis.text element?
I read some where the default font size for ggplot is size 11 and that looks to be true for axis.title, but when you use the default font sizes the size of axis.text is usually smaller than axis.title.

For more context I had a function that made a plot that used the default font sizes. Now I am adding to the function so the font size can be adjusted but I want to make sure I still can match the default sizes for my first set of plots and then adjust the size for future plots.

It's slightly smaller but adjustable.

ggplot(mtcars, aes(x = wt, y = mpg)) + geom_point()

ggplot(mtcars, aes(x = wt, y = mpg)) + 
  geom_point() +
  theme(axis.text = element_text(size = 14))

Created on 2023-09-05 with reprex v2.0.2

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.