Book Image

R Graphs Cookbook Second Edition

Book Image

R Graphs Cookbook Second Edition

Overview of this book

Table of Contents (22 chapters)
R Graphs Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Beyond the Basics – Adjusting Key Parameters

In this chapter, we will cover the following recipes:

  • Setting colors of points, lines, and bars

  • Setting plot background colors

  • Setting colors for text elements – axis labels, titles, plot titles, and legends

  • Choosing color combinations and palettes

  • Setting fonts for annotations and titles

  • Choosing plotting point symbol styles and sizes

  • Choosing line styles and width

  • Choosing box styles

  • Adjusting axis labels and tick marks

  • Formatting log axes

  • Setting graph margins and dimensions