Smooth TGraph contour

Hey everyone,

I have a 2d TGraph object and want to fit / smooth it (get rid of the wiggles etc), see graph attached. I generated this graph by using a TH2F object and the Smooth(1) option (unfortunately Smooth(2) is not working for 2dim histograms) and extracted its contour.

I also found this topic (Smooth TGraph) but its not helping because I already used the Smooth option for histograms.

Is there something else implemented in ROOT I could use for further smoothing?

Thanks in advance

Christian

https://root.cern/doc/master/fit2_8C.html

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.