Hi Joe,
Use TAttAxis::SetNdivisions(), eg
h2->GetXaxis()->SetNdivisions(5);
h2->GetYaxis()->SetNdivisions(5);
ndiv=N1 + 100*N2 + 10000*N3
N1=number of 1st divisions.
N2=number of 2nd divisions.
N3=number of 3rd divisions.
SetNDivisions is also available via the TAxis context menu
Rene Brun
On Thu, 16 Aug 2001, joe robe wrote:
> hello rooters,
>
> on an axis 1 to 20 i want to have ticks only on each
> number, but th2f or trgraph draws ticks BETWEEN the
> numbers.
>
> How can I avoid that ?
>
> Joe
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET