I have a simple question. I am using TPad and I am trying to set the
Limit at the x-axis and that works. If I am trying to do it at the y-
axis it doesn't work. Here the part of my Macro :
TCanvas *c = new TCanvas("c","",900,700);
c->cd();
c->SetFrameBorderMode(0);
TPad *pad = new TPad("pad","",0.05,0.02,0.55,0.98,0);
pad->Draw();
pad->cd();
pad->SetLeftMargin(0.2);
pad->SetRightMargin(0.0);
pad->SetBottomMargin(0.15);
pad->SetTopMargin(0.1);
gr->GetXaxis()->SetLimits(-3.0,3.0);
gr->GetYaxis()->SetLimits(0.0,3.0);
gr->Draw("AP");
Thanks for the help.
Best regrads,
Michi