ggplot2: Legend - Part 2
Introduction
This is the 14th post in the series Elegant Data Visualization with ggplot2. In the previous post, we learnt how to modify the legend of plots when aesthetics are mapped to variables. In this post, we will continue to explore different ways to modify/customize the legend of plots.
Specifically, we will learn to modify the following using scale_fill_manual() when fill is mapped to categorical variables:
- title
- breaks
- limits
- labels
- values