In [1]:
from ROOTaaS.iPyROOT import ROOT
ROOT.toCpp()
In [2]:
h=TH1F("h","jsHistoCpp;X;Y",128,-4,4);
h.FillRandom("gaus")
Out[2]:
In [3]:
h.Draw()
Out[3]:
In [4]:
toPython()
Out[4]:
In [6]:
q=ROOT.TH1F("q","jsHisto;X;Y",128,-4,4)
q.SetLineColor(ROOT.kRed)
In [7]:
q.FillRandom("gaus")
In [8]:
q.Draw("same")
In [ ]: