So I am ploting a figure using TGraph in log-log scale. I start using gname->GetXaxis()->SetLimits(xmin,xmax) and the same for Y axis but I realize that I can not change the Y axis limit, so I check TAxis class and I find that I can use gname->GetYaxis()->SetRangeUser(ymin,ymax) which work perfectly for y axis but not for x axis. So at the end I use SetLimits for x axis and SetRangeUser for y axis which look a little strange for me.

Use TGraph::SetMinimum/SetMaximum


Thanks for your reply. But what is the purpose of other methos?