如何在GridExtra中使用tableGrob更改表背景

时间:2019-03-29 00:47:52

标签: r gridextra grob

我的绘图表的背景中有这个Gridmesh。如何更改背景,然后更改主题

https://imgur.com/a/6s5tM0j

ggplot(MyData, aes(x=Pj, y=T, colour = Depo, shape = Cutoff)) + geom_point()

1 个答案:

答案 0 :(得分:0)

如果您使用grid::grid.draw(tableGrob())(或直接使用grid.table()),则没有背景。 plot.gtable(带有灰色背景)仅用于调试。