Skip to content

histogram2

matlab_compat · scripts/matlab_compat/histogram2.m

HISTOGRAM2  Bivariate histogram chart shim (MATLAB compat).
Usage (MATLAB R2026a):
  histogram2(X,Y)
  histogram2(ax,___)
  histogram2(___,nbins)
  histogram2(___,Xedges,Yedges)
  histogram2(___,'Name',Value)
  h = histogram2(___)

Name-value pairs forwarded to histcounts2:
  'NumBins', 'XBinEdges', 'YBinEdges', 'BinWidth',
  'XBinLimits', 'YBinLimits', 'Normalization'