[ROOT] axis of a TTree

From: A.Dietz@mpi-hd.mpg.de
Date: Thu Nov 06 2003 - 14:13:48 MET


Hello Rooters,

my questions maybe were posted several times before, but I cannot find any
sufficient answer in the roottalk-forum.


My question: How can I get the pointer to the x-axis and y-axis when I am
creating a tree-plot?

The answer given in most cases is to redirect the draw into a histogram,
e.g.

    tree->Draw("data1:data2>>htemp")

and to use this htemp-histogram. But this is not what I want! In most
cases this histogram differs significant from a plot created by:

    tree->Draw("data1:data2")  !!!


So how can I get the axis from the original tree-plot to set titles, to
get the xmin and xmax-values and to obtain other informations.


Thanks a lot in advance,
Alexander Dietz



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET