Relative Content

Tag Archive for ggplot2ggpubrcowplotpatchworkggnewscale

ggplot arrange multiple scales/legends in grid layout

How do you work around space issues when the scales/legends do not fit vertically beside a plot? I would like to arrange them in a grid with n-rows and m-cols (similar to this question) and align each row and column by legend title. Currently, I use get_legend() from ggpubr but fail to align those properly.