RE: TGaxis/TAxis : SetBinLabel()

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 4 Jan 2010 15:37:57 +0100


Hi Marc,
The alphanumeric labels are stored in the TAxis class. Not in TGaxis. Olivier

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Marc Escalier
Sent: Monday, January 04, 2010 3:14 PM
To: roottalk_at_lxbuild091.cern.ch
Subject: [ROOT] TGaxis/TAxis : SetBinLabel()

Hello,

from a TH1 histogram, one can do
myhisto->GetXaxis()->SetBinLabel(NumberOfTheBin,"mylabel") (which is a TAxis)

but is there a way to use a SetBinLabel with a TGaxis instead of TAxis ?

thanks Received on Mon Jan 04 2010 - 15:38:01 CET

This archive was generated by hypermail 2.2.0 : Mon Jan 04 2010 - 17:50:01 CET