R语言 ggplotdf_m+ geom_colaesGroup2 Shoot_m fill = Group1 position = position_dodge9+ geom_errorbaraesGroup2 Shoot_m ymin = Shoot_m - Shoot_sd ymax = Shoot_m + Shoot_sd width = 2 positi
可能是因为您的 position 参数设置错误。请尝试将 position 参数设置为 position_dodge(width=0.9),其中 width 参数应该与柱子的 position 参数相同。例如,如果您的柱子 position 参数设置为 position_dodge(.9),则误差棒的 position 参数应该设置为 position_dodge(width=0.9)。这样,误差棒应该会正确地分开。
原文地址: https://www.cveoy.top/t/topic/cQ6k 著作权归作者所有。请勿转载和采集!