Macro algorithm

I am writing a macro to plot a graph between difference of radii Vs time as shown in the attached file.
Could you please someone suggest me the algorithm for this macro?

Cheers

See tutorials/graphs/graph.C. You’ll need to read the values from the text files, but there are plenty of examples out there (it’s nothing ROOT specific).