Re: [ROOT] Text Axis Labels

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 20 2000 - 09:41:29 MEST


Hi Thomas,

Concerning the original question by Damon hart on alphanumeric representations
of dates and times, this has been added to version 2.24 by Damir Buskulic.
You can see an example of use in the list of tutorials at:

   http://root.cern.ch/root/html/examples/timeonaxis.C.html

Concerning the second point about alphanumeric axis labels in general,
I am sorry to say that what I promised as a Christmas gift did not materialize
yet. I strongly hope that the facility to histogram string variables will be
available before the end of this year.

Rene Brun

Thomas Hadig wrote:
> 
> Dear all,
> 
> i found this quite old message of the 2nd of October, 1998(!):
> 
> Damon Hart wrote:
> >
> > My ROOT application uses a number of graphs of time series for which the
> > logical axis labels are alphanumeric representations of dates and times.
> > A roottalk digest entry of 16 April, 1998 demonstrates a simple way to
> > produce such labels more or less manually using raw text objects. The
> > same message also alludes to the infrastructure in place to generalize
> > the use of alphanumeric axis labels, which I gather from the source
> > refers to TAxis::fXlabels, TAxis::SetBinLabel(), etc.
> >
> > Is this infrastructure currently usable for this purpose? (A recent
> > download of the posted source suggests not.) I could, of course, attempt
> > to augment the demonstrated text method to automate tasks such as
> > placement, scale, text size, etc., but this effectively reimplements
> > much of the current axis label work without extending the code
> > significantly. Is there some more general contribution in this area a
> > ROOT novice might reasonably tackle?
> >
> 
> Damon,
> The data structure for TAxis is ready to support alphanumeric labels
> but the methods to draw the info must still be implemented.
> I had many requests to support strings in TTree::Draw , TH1 or TGraph.
> This implies first to complete the TAxis implementation.
> I would like to merge at the same time the TAxis and TGaxis classes.
> I hope to have time to do this work around Christmas.
> 
> Rene Brun
> 
> Is this implemented in the meantime and if so, how do i get it to work ?
> 
> Ciao and thanks in advance
> Thomas
> 
> ----------------------------------------------------------------------------
> Thomas Hadig, Hospitalstr. 126, 22767 Hamburg         Tel.  +49 40 39901186
> OFFICE : DESY/H1, 1a334, Notkestr. 85, 22607 Hamburg  Tel.  +49 40 8998 2733
>      hadig@rwth-aachen.de                             Mob.  +49 170 7807434
>      http://www-h1.desy.de/~hadig/                    FAX   +49 40 8998 4385
> ----------------------------------------------------------------------------
>     In a world without walls and fences, who needs windows and gates ?
> ----------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET