ggplot(df) + geom_point(aes(x = x, y = y)) + facet_wrap(vars(label)) labeller参数,可以使用它来处理太长的facet标签 ggplot(df) + geom_point(aes(x = x, y = y)) + facet_wrap(vars(label), labeller = label_wrap_gen())+ theme(panel.spacing.x = unit(0.05, "cm")) 同时显...