It is SetTickSize() (not Length)
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Pawan Kumar
Netrakanti
Sent: Friday, December 08, 2006 3:55 PM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] TGAxis->SetTickLength
Hi,
I draw an axis using TGAxis on my histogram.
Then when I use to set the
axis->SetTickLength(val);
it gives an error message:
Error: Can't call TGaxis::SetTickLength(0.04) in current scope
However I am able to use all other functions like SetTickSize, SetLabelFont....on this drawn axis.
I am using ROOT Version 5.13/04 on Debain.
example code:
axis->SetLabelColor(1); axis->SetNdivisions(507); axis->SetLabelOffset(0.001); axis->SetLabelSize(0.08); axis->SetLabelFont(42); axis->SetTitleSize(0.05); axis->SetDecimals(true); axis->SetTickSize(0.04); axis->SetTickLength(0.04); axis->Draw(); =====================
with best regards
Pawan
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:02 MET