Each group is shown as one bin. The histogram's x -axis reflects the range of values in Y . The histogram is created with a patch graphics object. If you want to change the color of the graph, you can set patch properties. By default, the graph color is controlled by the current colormap, which maps the bin color to the first color in the colormap.
Examples Generate a bell-curve histogram from Gaussian data.
Change the color of the graph so that the bins are red and the edges of the bins are white.