Showing posts with label limit. Show all posts
Showing posts with label limit. Show all posts

Monday, April 20, 2009

ROOT: how to set TGraph Xaxis range.

It seems that I cannot set the x-axis range of TGraph by

graph->GetXaxis()->SetRangeUser(0,1);

. I have to use

graph->GetXaxis()->SetLimits(0,1);

to do this task. But the former way is working for y-axis.

Locations of visitors to this page