Re: Text Axis Labels

Rene Brun (Rene.Brun@cern.ch)
Fri, 02 Oct 1998 09:00:28 +0200


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