Hello,
SetAngle3D doesn’t work for me in pyROOT. Or I misunderstood the meening but there is no documentation except of [1]
I want to reach just pie chart as a circle and not elipsoid. Part of my code [2]
Thanks, Tomas.
[1] root.cern.ch/root/html/TPie.htm … SetAngle3D.
[2]
#pyROOT:
gROOT.Reset()
gStyle.SetOptStat(0)
c1=TCanvas()
c1.SetFillColor(0)
c1.cd()
FirstProtPie=TPie(StorageService,StorageService,3)
for prot in FirstProtVal.keys():
FirstProtPie.SetEntryVal(pieEntries[prot],FirstProtVal[prot])
FirstProtPie.SetEntryLabel(pieEntries[prot],prot)
FirstProtPie.SetEntryFillColor(pieEntries[prot],pieColors[prot])
FirstProtPie.SetRadius(.3)
FirstProtPie.SetAngle3D(60.)
#FirstProtPie.SetAngularOffset(90.)
FirstProtPie.Draw(“nol <”)
c1.SaveAs(“plots/FirstProtPie”+"_"+StorageService+".eps")