我正在尝试结合三个地块,我想在顶部有一个地块,第二行旁边有两个地块。所有图应具有相同的高度和宽度。我正在使用

问题描述 投票:0回答:1
提前感谢您!

	

我承认,对于三个相同的地块是必要的,当我需要强武器进行一些对齐尝试时(通常非常欢迎)时,我发现使用
free(.)
有帮助的是。 您的代码为我制作:

r ggplot2 patchwork
1个回答
0
投票

plot_comb <- free(plot1) + free(plot1) + free(plot1) + plot_annotation(tag_levels = "A") + plot_layout(design = design) & theme(plot.tag = element_text(face = "bold")) plot_comb

original ggplot2, bottom right plot has a different width as the other two despite being the sample underlying grob

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.