I need to make an arrange of plots in which each row of plots shares a common legend. All plots share the same units for y and x-axis. Below I show how my arrange of plots looks like:
I extract the common legend for each row as a plot and then I add it as an additional column in my arrange.
As you can see, the column with the legends "consume" a lot of space in the arrange, what could I do to reduce their margins in favour of the other two columns?
I used plot_grid
because I saw in this link that you can create common x and y-axis titles using ggdraw
.