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 look at how we can save plots in different formats on your hard drive as well as how different plots can be arranged in R in a single picture.
ggplot2 Essentials
By :
ggplot2 Essentials
By:
Overview of this book
Table of Contents (14 chapters)
ggplot2 Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Graphics in R
Getting Started
The Layers and Grammar of Graphics
Advanced Plotting Techniques
Controlling Plot Details
Special Applications of ggplot2
Index
Customer Reviews