"zaldy" <zaldy@neutrino.kek.jp> writes: > Dear Rooters, > > How do we write an axes label on a THStack histogram? > > In TGraph usually we draw first the Graph, then we do like > > TGraph * a = new TGraph(n,x,y); > ... > ... > a->Draw(); > a->GetXaxis->SetTitle("XTitle"); > .... > > But it seems hard to do the same with a THStack... > How I wish to find an example from the tutorials (i.e., > cernstaff.C,hstack.C,limit.C,...) > > But I did not find one... > > Any idea? > Hi, set titles for the histogram which is to be added to THStack as the first one. cheers, Jiri
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET