与前面不同,facets会首先把数据进行分离,然后分别进行绘图,最后并将这些图片整合在一起。比如下方的代码: gapminder %>% ggplot(aes(x=continent,y=lifeExp,fill=continent)) + geom_boxplot() + geom_jitter(width = 0.1,alpha = 0.2) + facet_wrap(~year) + theme(axis.text.x = element_text(angle ...