![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-guide-color-bar.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-legend-box-background-color1.png)
ggplot2 legend : Easy steps to change the position and the appearance of a graph legend in R software - Easy Guides - Wiki - STHDA
![How to change ggplot legend so that `fill` is a square and `linetype` is a line? - #2 by Rsky - tidyverse - RStudio Community How to change ggplot legend so that `fill` is a square and `linetype` is a line? - #2 by Rsky - tidyverse - RStudio Community](https://community.rstudio.com/uploads/default/original/3X/7/8/789a386d87d9596e596f61a1d8079cc9af352a49.png)