gpt4 book ai didi

r - 带箭头的ggplot y轴

转载 作者:行者123 更新时间:2023-12-05 01:38:08 24 4
gpt4 key购买 nike

<分区>

有谁知道如何水平改变y轴并添加箭头?我想制作这样的图表。这是我用来制作这张图的代码。

ggplot(plot, aes(x=Worried.about.the.problems.caused.by.the.garbage., y=mean))
+ geom_bar(stat = "identity", position ="dodge", fill='#6699FF') + theme_minimal()+ ggtitle("Korea") + theme(plot.title = element_text(family = "serif", face = "bold", hjust = 0.5, size = 15, color = "black"))

enter image description here

enter image description here

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com