Graphics Reference
In-Depth Information
Figure 7-1. Text annotations
Discussion
The
annotate()
function can be used to add any type of geometric object. In this case, we used
geom="text"
.
Other text properties can be specified, as shown in
Figure 7-2
: