pic = 'dar.jpg'; numbins=20; imagehist1d(pic,numbins); pause figure(1) clf figure(2) clf imagehist2d(pic,numbins); pause figure(1) clf figure(2) clf