I have 6 ggplots which I align with the arrange.grid into 3 rows. I want to create a common legend for all the plots. I read this answer from this question which explained things in a very nice way.
Add a common Legend for combined ggplots
but the problem is that the idea mentioned here will take the legend of p1.
in my case, the legend in each plot has a different scale.
i.e. p1 : 0.6 to 0.8
i.e. p2 : 1.6 to 2.2
hence this answer does not work in my case.
How can i make 1 legend that contain the scale limits of all the 6 plots.