[ROOT] How to change range of Y axis?

From: Hucheng CHEN (chc@bnl.gov)
Date: Thu Mar 29 2001 - 04:30:38 MEST


Hi, Rooters:

I have two arrays, x[] and y[]. I use TGraph to plot y vs x, because the values of y[] are around 50.0, so the range of Y axis is from 48.0 to 52.0. I hope to change the range Y axis to show from 0.0 to 60.0, how should I do? I tried TAxis::SetLimits, but it doesn't work. Anybody can give me some advices? Thanks!

Regards,

Hucheng CHEN



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