Hexagonal binning plot

Michiel de Hoon wrote:

I uploaded a demo on sourceforge:



I have committed a modification of the demo, and also made some tweaks in hexbin itself. Manuel Metz also made some changes and additions, and more may be in order as the function is tested and used by more people. The main change I made is to use log10 for the log scaling. This the usual expectation, I believe.

For interpreting the actual value of what is plotted--the counts per cell--it might be good to output the area of the cell, or have an option to plot something like counts per unit area divided by total counts, which would be a probability density.

Thanks again for contributing hexbin.