How to add a shared legend to a side-by-side graph created with the ggplot2 package - R programming example - Reproducible R syntax