Hi, I am having trouble drawing a function in a pad with log axes in the case when the function range is smaller than the defined axis range. In the following macro, the defined function is never drawn. { gROOT->Reset(); c1 = new TCanvas("c1","TF1 with log Axes",200,10,700,500); c1->SetLogx(); c1->DrawFrame(1,0,100,1); f = new TF1("f","1/x",5,80); f->Draw("same"); } Note that if I do not use log axes, or if I define the function range to be larger than the frame, the function is properly drawn within the frame. I discovered this in try to fit a TGraph with a function with a range smaller that the data points within the TGraph. Here again, the fitted function is never drawn when the TGraph is drawn. Cheers, Glenn
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET