rotate x axis labels ggplot code example
Example 1: ggplot x axis 45 degreees
q + theme(axis.text.x = element_text(angle = 90, vjust = 0.5, hjust=1))
Example 2: rotate axis labels ggplot2
q + theme(axis.text.x = element_text(angle = 90, vjust = 0.5, hjust=1))