Hi, what's wrong with this: TH1 *obj = (TH1*)myhist->DrawCopy(); gPad->Modified(); gPad->Update(); TPaveStats *p = (TPaveStats*)obj->GetListOfFunctions()->FindObject("stats"); if (s==NULL) cout << "Is Null!" << endl; Why don't I get a pointer to the TPaveStats object? Thanks, Thomas.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET