Problem in setting the range of the plot

Actually, for “graphs”, it is very easy to use any “arbitrary values” for the x-axis range:
graph->GetHistogram()->GetXaxis()->SetLimits(xmin, xmax);

1 Like