[ROOT] x axis range

From: Krister Bruhwel (bruhwel@jlab.org)
Date: Thu Dec 07 2000 - 19:50:33 MET


I'm new to Root and I'm trying to make line graphs with a set Y and X
range so that I can visually compare graphs (same xy axis on all
graphs).  I
've found that
              TGraph *graph = new TGraph(inTime.size(), x_value,
y_value);
              graph->GetXaxis()->SetMinimum(10.0);
              graph->GetXaxis()->SetMaximum(100.0);

sets the Y axis range.  How can I set the X axis range?  I've searched
the Root Talk and have not had any luck.

Thanks for any help,
Krister



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET