hi can anyone help me to remove zeros bar in histogram this is a part of the code . i'm new in matlab so pleas help me
[hCount, hValues] = hist(h(:), 6); [sCount, sValues] = hist(s(:), 6); [vCount, vValues] = hist(v(:), 6); % Plot histograms.
subplot(3, 4, 6); bar(hValues, hCount); title('Hue Histogram'); subplot(3, 4, 7); bar(sValues, sCount); title('Saturation Histogram'); subplot(3, 4, 8); bar(vValues, vCount); title('Value Histogram');
Best Answer