MATLAB: Changing the histogram color

histogram

Is there any way to change the color of a histogram?

Best Answer

If you want each bar in a different color, then try the attached demo (below in blue text).