引自

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))

 

相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2021-04-13
  • 2021-10-12
  • 2021-09-29
  • 2021-12-27
  • 2022-12-23
  • 2021-10-25
猜你喜欢
  • 2021-10-15
  • 2021-08-28
  • 2022-12-23
  • 2021-09-29
  • 2021-12-28
  • 2021-12-03
  • 2022-01-27
相关资源
相似解决方案