SyntaxFix
Write A Post
Hire A Developer
Questions
You need to use theme() function as follows rotating x-axis labels by 90 degrees:
ggplot(...)+...+ theme(axis.text.x = element_text(angle=90, hjust=1))