2D histogram colored by frequency with MATLAB
===

I have a XY data file with large number of points, which basically represents the X,Y location of object A around the other, object B  placed at 0,0. I would like to obtain a graph showing spatial distibution of A around B using matlab. Although I have a vague idea that I have to use histc, I would appreciate your kind help.
Thanks,