[ROOT] writing THStack axes label...

From: zaldy (zaldy@neutrino.kek.jp)
Date: Mon Dec 08 2003 - 02:34:30 MET


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?

Thanks for your time...

-- 

--------------------------------------------------------
                   Zaldy A. Nawang 
                   PS Users Room 2
                   Yon Gokan, 
                   E362, Neutrino Group, 
                   IPNS, KEK, 
                   Japan 
                    
                   e-mail: zaldy@neutrino.kek.jp
                   Tel. No. : (81) 029864 - 5387
--------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET