Fitting 2 TGraphError objects together

Hi, please could you help me with this one…

I have two TGraphError objects which have the same X-points, different Y-values and diferent Errors of Y. I need to fit them with the same function.

Thank You in advance.

Make a TMultiGraph with your TGraphs and use TMultiGraph::Fit.
see tutorial fitMultiGraph.C


Thank You, Rene!