ggplot2小技巧——如何旋转坐标轴label的方向

引自

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

 

posted on 2015-03-27 16:57  云中道长  阅读(13405)  评论(0编辑  收藏  举报

导航