TGraph Fit Question

I’m trying to figure out how can I fit a TGraph and not include certain points. The array I use to create TGraph sometimes has zero values. Is there a way when fitting, to not take those points into account? Thanks.

Ramon

Use a TGraphErrors and set the error to 0 for the point(s) that you want to exclude.

Rene

Will do. Thanks.

Ramon