Re: Changing Axis Label Text

Rene Brun (Rene.Brun@cern.ch)
Tue, 15 Dec 1998 16:52:16 +0100


ryan roth wrote:
>
> Hello Rooters:
>
> In my current project I am trying (among other things) to have the axis
> attached to a TGraph or THistogram object to have labels corresponding to
> dates and times, as in 9:39 28 Jan 1996. Looking throught the digest, I
> found that the means to do this was as yet unimplemented. I also found
> that this same question was brought up in October, and the reply was that
> it was hoped to be ready sometime around Christmas. I would like to
> know what the status of this work is currently, and the estimated time of
> completion, if possible.
>
> Thank you.
>
> Ryan Roth
> PHENIX Experiment, BNL
> rothr@db.erau.edu

Hi Ryan,
In a mail several weeks ago, I mentionned our intention to implement
support for alphanumeric labels on the axis.
This includes the following functions:
- a simple TAxis function to store a set of labels (pretty simple)
- Interface from the TH1 and TTree classes to:
- TH1::Fill(const char *name, Double_t w)
- TTree::Draw("leaf_of_char_type")
This is quite complex (if implemented efficiently).
This is on my shopping list for the next iteration (probably 2.21).
- Time/Date on axis (no short term plans for this one).
I understand that Damir may come with something in this area.

I also promised a solution to a problem reported a long time ago
by Peter Wienemann affecting Postscript files in case one use
the special fill styles 3010->3030.