コード例 #1
0
def plotH5File(
    h5filename, 
    pathinh5file = None, 
    min = None, max = None, 
    output=None,
    **kwds):
    if pathinh5file is None:
        from histogram.hdf.utils import getOnlyEntry
        pathinh5file = getOnlyEntry( h5filename )
    from histogram.hdf import load
    h = load( h5filename, pathinh5file )
    plotHist( h , min = min, max = max, output=output, **kwds)
    return
コード例 #2
0
def plotPklFile( filename, min = None, max = None, output=None, **kwds):
    from histogram.hpickle import load
    h = load( filename )
    plotHist( h, min = min, max = max, output=output, **kwds)
    return