O'Reilly logo

Using R for Statistics by Sarah Stowell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required