Dear ROOTers,
0 void test()
1 {
2 TGraph* graph = new TGraph();
3 graph->SetPoint(0, 1, 1);
4 graph->SetPoint(1, 2, 2);
5 graph->GetXaxis()->SetRangeUser(0, 5);
6 graph->GetYaxis()->SetRangeUser(0, 5);
7 graph->Draw("apl");
8 return;
9 }
Why is the line 5 ignored ?
Do I have to draw a dummy histogram as a frame before the line 7 ?
5.01/01 on RH7.3 and 5.06/00 on OS X 10.4.
Thank you in advance.
Sincerely,
OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
Institute for Cosmic Ray Research, University of Tokyo
5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan
Phone/Fax : +81 4-7136-3153
Skype : okumura.akira
Received on Thu Mar 09 2006 - 18:07:04 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET