CHAPTER 9

image

Customizing Your Plots

In the previous chapter, you learned how to create the most popular types of plots. This chapter explains how you can customize their appearance. Good use of titles, labels, and legends is essential if you want your plots to be useful and informative to others, and carefully selected colors and styles will help to create a more polished look.

You will learn how to:

  • add titles and axis labels
  • adjust the axes
  • specify colors
  • change the plotting line style
  • change the plotting symbol
  • adjust the shading style of shaded areas
  • add items such as straight lines, function curves, text, grids, and arrows
  • overlay several ...

Get Using R for Statistics 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.