If S is your stack:
S->GetXaxis()->SetTitle("X Axis");
S->GetYaxis()->SetTitle("Y Axis");
-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of Roberta Ferretti
Sent: Wednesday, October 15, 2008 4:03 PM
To: roottalk_at_root.cern.ch
Subject: [ROOT] Question about THStack
Dear Rooters,
I have a question: using THStack to draw several Histograms on a single canvas, is it possible to give titles to the axis? I couldn't manage to do that.
thank you very much for your help.
Regards,
Roberta F. Received on Wed Oct 15 2008 - 16:23:13 CEST
This archive was generated by hypermail 2.2.0 : Thu Oct 16 2008 - 11:50:02 CEST