引自
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刪除。