更新时间:2023-11-26 13:31:52
这是您想要的吗?
hist + geom_bar(width=0.4, position = position_dodge(width=0.5))
width
在 geom_bar
中决定了条的宽度.width
在 position_dodge
中决定了每个条的位置.
width
in geom_bar
determines the width of the bar.width
in position_dodge
determines the position of each bar.也许你在和他们玩了一段时间后很容易理解他们的行为.
Probably you can easily understand their behavior after you play with them for a while.