then you get a 2x2 plot.
You have to provide the x component for the centers of the bins and the y component. In this case you have a bins around [1,1] [1,2] [2,1] and [2,2] and the matrix with the heights is in this case obviously a 2x2 matrix.
Is that clear enough?