geom_tex 仅针对特定数据旋转文本

问题描述

我使用此命令生成以下图:

ggplot(ToPlot,aes(x=Pop,y=Val,fill=Categorie)) +   
         geom_bar(stat="identity") +
         facet_grid( ~ Soft,scales="free_x") +   
         theme(axis.text.x = element_text(angle = 90)) +    
         geom_text(aes(label= Val),size = 3,hjust = 0.5,vjust = 3,position =     "stack")

但是,正如您所看到的名为“S”的数据集,我想旋转它们,但仅针对此数据集。你知道我该怎么做吗?

谢谢!

埃迪

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)