I have a TGraph with a set of points that are connected with linear splines.
When I use the function Eval(), I expected to see the interpolated values to be exactly on the TGraph splines, but this is not the case. When I plot the points on top of the TGraph, (the ones I got using Eval) they are not perfectly on the TGraph splines. am I using the wrong function?
how do you use
TGraph::Eval() exactly? How many parameters of this member function do you set? If it’s only one, maybe you could try
TGraph::Eval(x, 0, "S")?
Hi @yus and @couet,
I just give the x value, without specifying the other option, but I just tried Eval(x, 0, “S”), and it’s still not helping I’m afraid
Can you post your macro ?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.