Re: problem with the range of Y axis

From: Ding Hengtong <dinght_at_iopp.ccnu.edu.cn>
Date: Sat, 25 Mar 2006 17:49:22 +0800 (CST)


On Sat, 25 Mar 2006, [gb2312] Xianguo Lu wrote:

Hi,

    you can do it like this:

   h100->SetAxisRange(0,18000,"Y");

  where h100 is your histogram object.

cheers,

Hengtong
>
> Dear Rooters,
>
> I filled a TH1F in such a way that the upper range of Y axis goes to about 18000. Whoever, in the graph, the Y axis starts from 1500. How can I do to make the Y axis start from 0?
>
>
> Thank you in advance.
>
> Cheers!
>
> Xianguo Lu

-- 
 ************************************************
 *             Hengtong Ding                    *                    
 *                                              *
 *  Address:  Institute of Particle Physics,    *
 *            Central China Normal University   * 
 *            Wuhan, 430079,  P. R. China       *
 *  Tel:      0086 27 6786 7946 (lab)           *
 *            0086 27 8715 0351 (dormitory)     *
 *  Fax:      0086 27 6786 3213                 *
 *  Email:    dinght_at_iopp.ccnu.edu.cn           *
 *	      dinghengtong_at_hotmail.com          *
 ************************************************
Received on Sat Mar 25 2006 - 10:43:20 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET