有時候你想移除圖例,使用guides()。 library(ggplot2) p <- ggplot(PlantGrowth, aes(x=group, y=weight, fill=group)) + geom_boxplot() p + guides(fill=FALSE) ...
確定! 回上一頁