Re: [ROOT] histogram in ntuple

From: Nick van Eijndhoven (Nick@phys.uu.nl)
Date: Wed Nov 21 2001 - 16:42:29 MET


Hi Dennis,
The easiest way to my opinion is just to right-click on the axis
and use the "SetMaximum" and "SetMinimum" functions from the
pop-up menu.

                                              Cheers,
                                               Nick.

-- 
Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick
--------------------------------------------------------------------------
Org.:    Utrecht University/Nikhef, Department of Subatomic Physics
Address: Princetonplein 5, NL-3584 CC Utrecht, The Netherlands
         (P.O. Box 80.000, NL-3508 TA Utrecht, The Netherlands)
Phone:   +31-30-2532331(direct) +31-30-2531492(secr.)  Fax: +31-30-2518689
NIKHEF:  +31-20-5922178(direct) +31-20-5922000(secr.)  Fax: +31-20-5925155
CERN:    +41-22-7679751(direct) +41-22-7675857(secr.)  Fax: +41-22-7679480
Offices: Buys Ballot lab. 710 (Utrecht)   N241 (Nikhef)   B23 1-020 (CERN)
--------------------------------------------------------------------------


"Dennis C. Arrogancia" wrote:
> 
> Dear Rooters,
> 
> I have a ntuple file which contains variables such as Evis, Pt, Pl, and
> etc.. I apply cuts in each of this variables and then draw. I have a
> little problem on how to change the range of the x-axis on the resulting
> histogram. How can i do it? Also, on the y-axis, i've noticed that the
> scaling is arbitrary. Is there a way on how to change the scale such that
> the range is of the order of let say, 10, 10^2, 10^3, and so on.
> 
> dennis



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET