Exemple #1
0

if settings.get('configuration','plot_framework') == 'python':
    print " Make plots with Python! "

    from python_plot import PythonPlot
    pythonplot = PythonPlot(settings)
    #pythonplot.alpha     = 1.0
    #pythonplot.hist_type = 'stepfilled'
    #pythonplot.colors    = 'red'
    #pythonplot.format    = 'png'
    #pythonplot.dpi       = 300
    #pythonplot.y_label   = 'Yield'
    #pythonplot.x_label   = 'Energy'
    #pythonplot.hist_cmap = 'Greens'
    pythonplot.initialize()
    pythonplot.execute()

#     from lhtagger import LHTagger
#     lhplot = LHTagger(settings)
#     lhplot.initialize()
#     lhplot.execute()

else:
    print " Make plots with ROOT! "
    print " NOT ENABLED, YET :( "
#     from root_plot import ROOTPlot
#     rootplot = ROOTPlot(settings)
#     rootplot.initialize()
#     rootplot.execute()