Fit with errors bars in the two planes, chi2 calculation?

Dear all,

I m fitting a TGraphErrors with error bars in the two planes, I dd like to know how the chi2 is calculated in this case in order to plot its value for each point and see which point gives the biggest chi2 contribution.
Thanks in advance,
Simon.

Hello,

see the documentation in TGraph::Fit
root.cern.ch/root/htmldoc/TGraph.html#TGraph:Fit

for the case of TGraphErrors

Best Regards

Lorenzo

Thanks a lot.
Cheers,
Simon.