Hello rooters,
Can someone tell me why there is no Eval() method for TGraph2D? It is not very convenient to have to use the TH2D hidden in the graph to fetch the Z value of of a given x and y…
Thanks,
Philippe
_ROOT Version: 6.10
_Platform: Ubuntu 16.04 Compiler: Not Provided
Hi,
TGraph2D is a collection of N points x,y,z
In general Eval(x,y) is not defined (except x and y happen
to be among the above collection)
The best you can do is TGraph2D::Interpolate(x,y)
Cheers
Otto