📜  ggplot 手动更改条间距 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:32.042000             🧑  作者: Mango

代码示例1
> df$time <- c(rep("0h", 4), rep("1h", 4), rep("4h", 4), rep("8h", 4))
> ggplot(df, aes(x = time, y = mean_count, fill = cond)) + geom_bar(stat = "identity", position = position_dodge())