on-internet
← Community

Fixing spacing issue with annotations in cowplot/patchwork

Stack Overflow ·

I'm trying to combine several figures drawn in PowerPoint into a panel, using patchwork, cowplot, magick. However, I always feel that the distance between the annotation and the actual figure is too big, and I'm struggling to find a way that minimises the distance. Is there a way to fix this issue? Here's is my code. library(patchwork) library(cowplot) library(magick) # You can test with any other image, so the code should be reproduceable design <- "./design.png" courses <- "./courses.png" # here I draw the figure using draw_image design <- ggdraw() + draw_image(design, x = 0, y = 0) courses

Comments

Sign in or sign up to comment and upvote.

No comments yet.