Graphics Reference
In-Depth Information
Figure 9-1. Left: scatter plot with a title added; right: with a /n for a newline
Discussion
ggtitle()
is equivalent to using
labs(title = "Title text")
.
If you want to move the title inside the plotting area, you can use one of two methods, both of
ative
vjust
value. The drawback of this method is that it still reserves blank space above the
plotting region for the title.