引自
https://stackoverflow.com/questions/1330989/rotating-and-spacing-axis-labels-in-ggplot2/1331400#1331400?newreg=534575cfc30344c797e7f207b0e6b8ac
使用theme函数来解决这个问题
q + theme(axis.text.x = element_text(angle = 90, hjust = 1))
引自
https://stackoverflow.com/questions/1330989/rotating-and-spacing-axis-labels-in-ggplot2/1331400#1331400?newreg=534575cfc30344c797e7f207b0e6b8ac
使用theme函数来解决这个问题
q + theme(axis.text.x = element_text(angle = 90, hjust = 1))
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。