Hello rooters
After executing the little macro below, I don't have access to the axis
(X and Y) using the mouse, When I click right on the axis the
"TF1::pol1" object is grabbed ... Is this the expected behaviour ?
I haven't figured out a simple workarround so far (for example drawing a
TH2C histogram before the graphs ends up with the same problem... )
The problem does not appear if I uncoment the first
"// gr->Fit("pol1");"
And comment the second one.
I am using ROOT 4.00/08 with GDK on WIN2000
* Version 4.00/08 9 July 2004 *
Compiled for win32.
CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004
I also reproduce this behaviour on home Drake Linux-Box
* Version 4.00/08 9 July 2004 *
FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004
******** MACRO :
{
double x[5] = { -10 , -5 , -2, 3, 5 };
double y[5] = { -8 , -3 , 0, 2, 6 };
TGraph* gr = new TGraph(5,x,y);
gr->Draw("LAP");
// gr->Fit("pol1");
x[0] = -8; x[4] = 4;
y[2] = 1;
gr = new TGraph(5,x,y);
gr->Draw();
gr->Fit("pol1");
}
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET