ggplotdataaesG value fill = G+ coord_cartesianexpand = F xlim = c2 655 ylim = c0 180+ scale_y_continuousbreaks = seq0 180 20+ stat_summarygeom = errorbarfundata = mean_sd width = 04 linewidth
将"size"参数的值增加即可,例如将"size"参数的值从0.1改为0.5:
ggplot(data,aes(G, value, fill = G))+ coord_cartesian(expand = F, xlim = c(.2, 6.55), ylim = c(0, 180))+ scale_y_continuous(breaks = seq(0, 180, 20))+ stat_summary(geom = "errorbar",fun.data = 'mean_sd', width = 0.4, linewidth = .1)+ stat_summary(aes(pattern = G, pattern_angle = G),pattern_spacing = .1, fun = "mean", position = "dodge", size = 0.5, geom = "bar_pattern", colour = 'black', width = 0.75, fill = 'white', linewidth = .1)
原文地址: https://www.cveoy.top/t/topic/bLnH 著作权归作者所有。请勿转载和采集!