问题描述
下面的代码生成附件图。如何清除/删除标记为 RED 的区域?
df <- data.frame(trt = c("a","b","c"),outcome = c(2.3,1.9,3.2))
ggplot(df,aes(trt,outcome)) +
geom_col()
我对代码进行了如下修改,但没有更改。
df <- data.frame(trt = c("a",3.2))
ggplot(df,outcome)) +
geom_col() +
theme(
plot.margin = unit(c(0,0),"mm")
)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)