Hi,
I just found out about the possibiliy to instantiate a TGraphErrors from a txt or csv file that I like very much!
However, I think I found inconsitency (I believe) in loading a TGraphErrors from csv and saving to csv, that actually makes it impossible to instantiate a TGraphErrors from a file just saved with TGraph::SaveAs(file), since the load order is (see documentation)
format = "%lg %lg %lg %lg" read only 4 first columns into X,Y,EX,EY.
while the save order is (from TGraph.cxx, TGraph::SaveAs, line 2137 in master branch)
out << fX[i] << del << (ex?ex[i]:0) << del << fY[i] << del << (ey?ey[i]:0) << std::endl;
i.e. X,EX,Y,EY. I think it would be beneficial that TGraphErrors could read its own output. Or did I miss some option to set the read/save order manually?
Best regards and thanks,
Klaus
ROOT Version: 6.36
Platform: Debian12
Compiler: Not Provided