43 ggplot axis labels
r - Bold axis label in ggplot - Stack Overflow May 6, 2021 · Bold axis label in ggplot Ask Question Asked 1 year, 10 months ago Modified Viewed 3k times Part of R Language Collective 0 With the code below, I get bold y-axis labels but not the x-axis. The issue is the output only when using math_format (). Curiously, the other aspects like angle, color, and size can be changed, but not the face of the font. Change size of axes title and labels in ggplot2 - Stack Overflow 4 Answers Sorted by: 432 You can change axis text and label size with arguments axis.text= and axis.title= in function theme (). If you need, for example, change only x axis title size, then use axis.title.x=. g+theme (axis.text=element_text (size=12), axis.title=element_text (size=14,face="bold"))
r - ggplot x-axis labels with all x-axis values - Stack Overflow Apr 2, 2012 · ggplot (df, aes (x = factor (ID), y = A)) + geom_point () + scale_x_discrete (breaks = ID [c (T,F,F)]) + theme (axis.text.x ...