I have code type:
void NameCode (...)
{
...
gStyle->SetOptFit(112);
Hist->Draw();
}
What I have:
What I want:
What do I need for change the position of the “Entries”?
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.22/02
Platform: Not Provided
Compiler: Not Provided
Something like this:
TPaveStats *ps1 = (TPaveStats *)Hist->GetListOfFunctions()->FindObject("stats");
if (ps1) {
ps1->SetX1NDC(0.65);
ps1->SetY1NDC(0.72);
}
(then adjust the values to what you need)
couet
3
system
Closed
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.