Show the ggplot2 legend, for comparison.
uselegend.ggplot(p, ...)
p
The ggplot object.
...
Ignored.
Toby Dylan Hocking