0
凡例の距離をx軸に縮小したいのですが、その方法を見つけることができません。出来ますか?ggplot2:凡例の距離をx軸に合わせますか?
例コード:
library(ggplot2)
ggplot(mtcars, aes(x = gear, y = mpg, fill = gear)) +
geom_bar(stat = "identity") +
theme(legend.position = "bottom")
パーフェクト!ありがとう! – ChristianL