PyROOT in the Lab - Indico

Numpy arrays can also be used instead of arra.array.y ouY can also create an empty ROOT.TGraph(N) and ll the points in one by one using g.SetPoint(i,ab). Exercises (3 minutes): 1 ryT plotting ROOT.TMath.Sin or your favourite function. 2 ryT g.GetXaxis().SetTitle("foo) and g.SetTitle ("bar). J.-F. Caron (Queen's University) PyROOT in the Lab May 12, 2020 3/21 . Histograms: TH1D Histograms … ................
................