import ROOT,random hist=ROOT.TH1D('hist','hist',100,-10,10) hist2=ROOT.TH1D('hist2','hist2',100,-10,10) hist2.SetLineColor(ROOT.kRed) for i in range(10000): val=random.gauss(0,2) hist.Fill(val) hist2.Fill(val*0.5) hist.Draw() hist2.Draw('same') u=raw_input('done?')