Summary

In this chapter, we went through the most important layout changes that you can apply to your plot. We saw how you can personalize the plot title and the axis labels, use the scale functions to modify the axis plot scales, and make axis transformations. We then saw what kind of modifications you can apply to the legends and, finally, we saw the different options available within theme selections. What you should have at the end of this chapter is a good understanding of what kind of changes you can make to the default layout of the plot as well as how to perform them. You can use this chapter as a small library of examples to go through if you want to change something but can't remember how to do it. In the next chapter, we will have a ...

Get ggplot2 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.