小编aug*_*sti的帖子

grid.arrange中的图之间的边距

我似乎无法找到关于如何使用grid.arrange增加两个图之间的空间的解决方案.我找不到如何继续的线索.我不想改变地块的大小或类似的东西.

grid.arrange(plot1, plot2, ncol=2)
Run Code Online (Sandbox Code Playgroud)

(下面的内容后来添加):

这是我的代码:

X11()

cs <- grid.arrange(arrangeGrob(b, a, ncol=2, top = textGrob(
                    "B", vjust = 0.5, hjust = 19.5, gp = gpar(
                     fontface = "bold", cex = 1.5)),
                     left = textGrob(~ Delta * "SCR (p - d)" ~ mu * 'S', 
                     gp=gpar(fontsize=18), rot = 90, vjust = 1)))
soc_sph <- grid.arrange(arrangeGrob(p, g, ncol=2, top = textGrob(
                     "A", vjust = 0.5, hjust = 19.5, gp = gpar(
                     fontface = "bold", cex = 1.5)),
                     left = textGrob(~ Delta * …
Run Code Online (Sandbox Code Playgroud)

r ggplot2 gridextra

9
推荐指数
1
解决办法
2万
查看次数

标签 统计

ggplot2 ×1

gridextra ×1

r ×1