This is a newbie question. I need draw a fit line(function) for the following attached plot (upper side of the plot).
I am not sure how to draw a fit function by joining points.
Piecewise straight lines joining the points
Any help would be greatly appreciated.
Create a TGraph and then draw it using the “L” drawing option.
Cannot use TF1 for defining a function instead of TGraph?
A set of points jointed by a line is handled by TGraph in ROOT.
for every pair. Or a TGraph with option “L”, as Wile said.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.