Chapter 10

Graphical Parameters

Chapter preview

This chapter describes how to specify graphical parameters, including information about specifying a single color, how to generate sets of coherent colors, information about how to specify fonts for drawing text, and information about how to produce special symbols and formatting for drawing mathematical formulae. The information in this chapter is useful for controlling the output of almost all graphics functions in R.

Graphical parameters are the arguments to functions that influence the detailed appearance of a graphical image. They apply the make-up to the basic bone structure of an image. Examples include the color and line width used to draw a line and the font used to draw text.

Despite ...

Get R Graphics, 2nd Edition 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.