Change if multiple legends are displayed in rows or columns in a ggplot2 plot - Snippet #77

Discover how to change if multiple legends are displayed in rows or columns in a ggplot2 plot with R