def plotHistogram(freqCounts, title='On-Times Histogram', xLabel='On-Time'):
 import pylab
 pylab.ion()
 pylab.figure()
 pylab.bar((numpy.arange(len(freqCounts)) - 0.5), freqCounts)
 pylab.title(title)
 pylab.xlabel(xLabel)

def plotHistogram ( freqCounts , title = 'On-Times Histogram' , xLabel = 'On-Time' ) : import pylab pylab . ion ( ) pylab . figure ( ) pylab . bar ( ( numpy . arange ( len ( freqCounts ) ) - 0.5 ) , freqCounts ) pylab . title ( title ) pylab . xlabel ( xLabel )
this is usually used to display a histogram of the on-times encountered in a particular output .