Hi, Use Sig_z_fit->SetMinimum and Sig_z_fit->SetMaximum. Cheers, Philippe -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Avdhesh Chandra Sent: Tuesday, April 22, 2003 7:50 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] set y range in TProfile Hi, How i can set the y-asix range of TProfile histogram before writing it to root-file? (I want to see it in certain range only) I am doing --------------------------------- Sig_z_fit->GetYaxis()->SetRange(20.0,80.0); Sig_z_fit ->SetLineColor(4); Sig_z_fit ->Write(); -------------------------------- where Sig_z_fit is TProfile histogram. Its not working. Thanks, Avdhesh ################################################################# ################################################################# ################################################################# ##### ##### ##### ################################################################# ################################################################# #################################################################
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET