Questions tagged «aesthetics»

6
使用美学和geom_text时,从图例中删除“ a”
如何从此代码生成的图例中删除字母“ a”?如果删除geom_text,则图例中不会显示“ a”字母。不过,我想保留geom_text。 ggplot(data = iris, aes(x = Sepal.Length, y=Sepal.Width, shape = Species, colour = Species)) + geom_point() + geom_text(aes(label = Species))
124 r  ggplot2  aesthetics 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.