y
A
,
B
,和
C
分别跨越10层
group
变量使用
geom_point()
.
是的
A
但我想要
和
C
以不同的颜色显示在每个图中。
ggplot2
?
library(ggplot2)
dat <- read.csv('https://raw.githubusercontent.com/rnorouzian/e/master/sng.csv')
ggplot(dat)+aes(x=A, y = y, fill = group)+geom_point()+ # How can I have `B` and `C` next to `A` with other colors
facet_wrap(~group)