摆脱标签 facet_grid 在这些灰色的盒子上?

我想要的是在右侧删除这些标签,侧面上的灰色框。 我将举一个例子:


p <- ggplot/mtcars, aes/mpg, wt, col=factor/cyl/// + geom_point//
p + facet_grid/cyl ~ ./



先感谢您!

胡安
已邀请:

郭文康

赞同来自:

这可以如下所示:


p <- ggplot/mtcars, aes/mpg, wt, col=factor/cyl/// + geom_point//
p <- p + facet_grid/cyl ~ ./
p <- p +theme/strip.text.y = element_blank///


没有矩形


p <- ggplot/mtcars, aes/mpg, wt, col=factor/cyl/// + geom_point//
p <- p + facet_grid/cyl ~ ./
p <- p + theme/strip.background = element_blank//,
strip.text.y = element_blank///

要回复问题请先登录注册