Before looking at the hist3 documentation, found out from a colleague that the syntax is;
hist3(affin_occur_z2(1:11046,1:2),[100 100]);figure(gcf);
where [100 100] is the "2-element numeric vector" that specifies 100 bins for each data set.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!