Draws a histogram, where the height of the bars is given
by Y. If X is None, the bars in the histogram have a
width equal to unity. If X is a single real number, it
is interpreted as the width of the bars. If X is a one-
dimensional array with an equal number of elements as
the Y array, then X is interpreted as the widths of the
bars. In all of these cases, the histogram starts at
the origin. However, if X is a one-dimensional array
with one element more than Y, then X is interpreted as
the locations of the start and end points of the bars in
the histogram. If X is a one-dimensional array with twice
as many elements as Y, then X represents the start and
end points for each bar separately.
The keyword color is either a single color to fill
the bars with, or a list of colors, one for each bar.
If the keyword labels is given, then the horizontal tick
marks and numerical labels are switched off. The keyword
labels should then consist of a list of strings, with the
same number of elements as Y. These labels are drawn
below the horizontal axis.
To switch the tick marks and labels back on for subsequent
plots, you can execute
window(style="work.gs")
which will reset the window to the usual work.gs style sheet.