Graphics Reference
In-Depth Information
Chapter8.Axes
The x- and y-axes provide context for interpreting the displayed data. Ggplot2 will display the
axes with defaults that look good in most cases, but you might want to control, for example, the
axis labels, the number and placement of tick marks, the tick mark labels, and so on. In this
chapter, I'll cover how to fine-tune the appearance of the axes.
Swapping X- and Y-Axes
Problem
You want to swap the x- and y-axes on a graph.
Search WWH ::




Custom Search