use TF1::SetMaximum/SetMinimum Rene Brun Mariusz Sapinski wrote: > > Hello rooters, > > what is the easiest way (except using the mouse) to draw a function with > y-axis specific range? Eg. > > TF1 *f1a = new TF1("f1a","[0]/([0]+([1]/(x-[2])^2))",xdown,xup); > f1a->SetLineColor(kRed); > f1a->FixParameter(0,FitPyR10[0][4]); > f1a->FixParameter(1,FitPyR10[1][4]); > f1a->FixParameter(2,FitPyR10[2][4]); > f1a->Drive(); > > this gives drawing of a fuction in a box with y-axis range from 0 to > about 1.8. I want it in the range 1-1.8. How to do this? > > -- > Mariusz
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET