mantidplot.
plotBin
(source, indices, error_bars=False, type=-1, window=None, clearWindow=False, waterfall=False)¶Create a 1D Plot of bin count vs spectrum in a workspace.
This puts the spectrum number as the X variable, and the count in the particular bin # (in ‘indices’) as the Y value.
If indices is a tuple or list, then several curves are created, one for each bin index.