Hi,
I was wondering if it is possible to Eval a spline fit.
TGraph *gr = new TGraph(100,*x, *y);
gr->Draw("apl");
The l has made a nice spline fit from x=0 to x=100 for example.
Now, I want to get the value from the spline line at say x=53.2
Something like:
gr->FindObject("spline")->Eval(53.2);
Thank you,
Kevin
-------------------------------------------
- Kevin Reil -
- #244A INSCC -
- http://www.physics.utah.edu/~reil -
- reil@physics.utah.edu -
-------------------------------------------
- And my father dwelt in a tent. -
-------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:08 MET