【发布时间】:2017-11-01 05:14:37
【问题描述】:
ggplot(G, aes(x=State, y=Score, fill=State))+
geom_bar(stat="identity", position="dodge")+
scale_y_continuous(labels = scales::comma)
请帮我写得更优雅。
this output + 我想在 x 中使用 236 分的线,试过了 abline(v=236)
没用!
【问题讨论】:
-
为什么要添加 python 和 excel 标签?据我所知,Excel没有
ggplot,你的问题似乎是“我如何在ggplot中做X”。