MATLAB: Contour map from hist3()

.bin2dbinninghisthist3histogramplotsvariables

Contour map from hist3()?

Best Answer

Supply output variables to hist3:
[n,c] = hist3(X, [10 10]);
contour(c{1}, c{2}, n);