Resizing the PaveStats containing the histogram statistics?

Good afternoon,

By which commands can I access to the PaveStats::stats in the gPad containing an histogram and then resize it ?

I suppose I should start from gPad but I did not succeed to find the right function to access to TPavesStats::stats.

Thanks for your help,


see secion “Statistics Display” at … nter:Paint

In short, do

h->Draw(); mycanvas->Update(); TPaveStats *st = (TPaveStats*)h->FindObject("stats") st->SetX1NDC(newx1); //new x start position x in [0,1] st->SetX2NDC(newx2); //new x end position