A.6 Themes

Some aspects of a plot’s appearance fall outside the scope of the grammar of graphics. These include the color of the background and grid lines in the plotting area, the fonts used in the axis labels, and the text in the plot title. These are controlled with the theme() function, explored in Chapter 9.