[ROOT] xaxis labels

From: joe robe (joer00@yahoo.com)
Date: Thu Aug 16 2001 - 17:40:14 MEST


thanks rene for the example how to draw individual
lables on x axis, but this seems to work ONLY with
that special example.

I tried it with tgraph and getxaxis->getbincenter
returns anything but the center of a bin, i get VERY
SMALL results like 0.11,0.22,0.33, values where there
are no (visible) bins !

I try to write a class to draw that lables correct,
whatever textsize is choosen, but the aligment seems
not to work correctly.

Is it not sufficient to draw the text with HORIZONTAL
ALIGN and the xvalue as the center of the bin ?

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