Plotting the difference between a graph and the fitting function

A good starting point could be the “${ROOTSYS}/tutorials/hist/ratioplotOld.C” tutorial (it does not use the TRatioPlot class). You will just need to replace the two histograms there with your graph and your function.

1 Like