Hello
How can I delete the TPaveText with the title that appears on top of the histograms coming from a tree? Is there an option for it not to be displayed?
Cheers
Belen
Hello
How can I delete the TPaveText with the title that appears on top of the histograms coming from a tree? Is there an option for it not to be displayed?
Cheers
Belen
Hi Belen,
TTree* mytree=...;
mytree->Draw("a>>myhist","","goff"); // don't draw yet
TH1F* myhist=(TH1F*)gPad->GetPrimitive("myhist");
myhist->SetBit(TH1::kNoTitle);
myhist->Draw();
should do it.
Axel.