I’m new in ROOT.
I have a ROOT file with some graphics. I need to export those graphics to text files containing two columns, one for the ‘x’ and another for the ‘y’ axis, for the analysis on another software.
How can I do it?
I was wondering if there is an elegant way of dumping the contents of a histogramm to a plain ascii file.
I know about the TH1::Print() function, where I can get this, but there I always have the format of sumw[i]=…, x=…, y=… .
What I would like to have is a plain ascii print without any formatting.
Any hints appreciated.
Dear root users and developers,
I’m surprised that there is no standard feature in root of converting at least 1d histograms into plain ascii file. I would expect that such a feature would be very much appreciated by many physicists especially of old generation who are not familiar with C++ and with root itself, but may still use it for simple analysis by dumping histograms into an ascii file and then processing it as they are used to with gnuplot or Origin or whatever other data plotting progr…