An R package for attaching labels to points, lines and contours in ggplot and lattice plots
directlabels
is an R
package for attaching labels to points, lines and contours in ggplot2
and lattice
plots. The motivation for using directlabels
is that the labels, in most instances, are easier to read and interpret than legends; and thus the labels can be used in place of legends.
Examples, vignettes, and links to additional resources are available on the package's old R-forge site and in the directlabels documentation link. Also see the package's github site.