-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
Hi,
I used GGally to draw a correlation plot and want to combine it with other figures, but I found that the sizes of the combined plots are inconsistent. I’m not sure where I can modify the code. Thank you.
my code is here, but the fig is not okye:
`fig2_grob <- as.grob(function() print(fig2))
fig_2 <- ggplot() +
annotation_custom(
grob = fig2_grob,
xmin = 0, xmax = 1,
ymin = 0, ymax = 1 ) +
coord_fixed(xlim = c(0, 1), ylim = c(0, 1), expand = FALSE) +
theme_void()
fig <- (fig1a / fig1b / (fig_2 | fig4)) +
plot_annotation(tag_levels = "A") +
plot_layout(heights = c(1, 1, 1.2))
ggsave(file = "./figure/fig.png", plot = fig, height = 13, width = 15, dpi = 300)`

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels