Following-up on a question that has already been answered regarding the scatterplot density (see R Scatter Plot: symbol color represents number of overlapping points), I would like to know if there is a way to add the legend of the scatterplot, let's say for instance to the solution proposed by O'brien?
Asked
Active
Viewed 571 times
2
-
1Read further, see the next answer http://stackoverflow.com/a/17094758/2747709. Use hexbin or functions in ggplot to get legend – infominer Apr 17 '14 at 17:49