patchwork icon indicating copy to clipboard operation
patchwork copied to clipboard

How to Collect Guides for All PCoA Plots?

Open timz0605 opened this issue 6 months ago • 1 comments

Hello!

First of all, this is an awesome package, and thank you so much!

I constructed 6 ordination plots with my data, and I am trying to collect them together. However, although I have tried multiple attempts, I am having trouble collecting the guides for all 6 plots, although they use the same legend. I was wondering if anyone could help take a look at this issue?

Thank you!

(p_106_bray + p_500_bray + p_sessile_bray + 
  p_106_jaccard + p_500_jaccard + p_sessile_jaccard +
  plot_layout(ncol = 2, byrow = FALSE, guides = "collect")) & 
  theme(legend.position = "bottom")

image

timz0605 avatar Aug 01 '24 09:08 timz0605