小编Seh*_*ang的帖子

带箭头的ggplot y轴

有谁知道如何水平更改 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"))
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

在此输入图像描述

r ggplot2 yaxis

2
推荐指数
1
解决办法
1197
查看次数

标签 统计

ggplot2 ×1

r ×1

yaxis ×1