![ggplot2 legend : Easy steps to change the position and the appearance of a graph legend in R software - Easy Guides - Wiki - STHDA ggplot2 legend : Easy steps to change the position and the appearance of a graph legend in R software - Easy Guides - Wiki - STHDA](http://www.sthda.com/sthda/RDoc/figure/ggplot2/ggplot2-legend-legend-box-background-color2.png)
ggplot2 legend : Easy steps to change the position and the appearance of a graph legend in R software - Easy Guides - Wiki - STHDA
![ggplot2 legend : Easy steps to change the position and the appearance of a graph legend in R software - Easy Guides - Wiki - STHDA ggplot2 legend : Easy steps to change the position and the appearance of a graph legend in R software - Easy Guides - Wiki - STHDA](http://www.sthda.com/sthda/RDoc/figure/ggplot2/ggplot2-legend-example.png)
ggplot2 legend : Easy steps to change the position and the appearance of a graph legend in R software - Easy Guides - Wiki - STHDA
![r - ggplot2: Order in legend alphabetically instead of following the order of appearance in the dataset - Stack Overflow r - ggplot2: Order in legend alphabetically instead of following the order of appearance in the dataset - Stack Overflow](https://i.stack.imgur.com/1esGw.jpg)