Skip to content

minimize margins as far as possible #463

@bheimbu

Description

@bheimbu

Dear @thomasp85,

first, thanks for this really cool package. And now, my problem: I would like to plot 7 trees in rows of three. It works as expected but the margin between the trees could be smaller -- resulting in less white space and hopefully larger trees in the end.

Here is my code:

grid_hgt <- pfam05199_hgt + pfam00703_hgt + pfam00331_hgt + pfam00722_hgt + pfam00295_hgt + pfam01055_hgt + pfam04616_hgt + plot_annotation(tag_levels="a",tag_prefix = "(", tag_suffix = ")") &
  theme(plot.tag = element_text(size = 12), plot.margin= unit(c(0,0,0,0), "pt"),  panel.spacing = unit(0, "cm"))
grid_hgt

and a shot of my figure. You see what I mean, right?
Image

For all tree objects (like pfam05199_hgt), I have also used + theme(plot.margin = margin(0,0,0,0,"cm")). But this also did'nt solve my problem.

Any help is highly appreciated.

Cheers Bastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions