I try to set the range of a TF1 function with a log scale, but for example the following does not work:
root  TF1* f1 = new TF1("f1","exp(-x)",0.,5.); root  TCanvas* fCanvas = new TCanvas("c1","canvas",800,600); root  f1->Draw(); root  f1->GetYaxis()->SetRangeUser(0.,0.5); root  fCanvas->SetLogx(); root  f1->GetYaxis()->SetRangeUser(0.,0.5);
Also, while in log scale I cannot zoom the x and y axis. The same works fine with histograms.
Is it a normal behavior? Or am I doing something wrong?
My root version is 5.34/32 and running on mac os x yosemite
thanks for your help