Plot graphs with errors

Dear all

I want to plot multiple plots with errors in one canvas, i wanna read in the errors and data from a txt file.
How can i do that ? kindly find the attached text file, the columns unnamed are the errors

Thank youRun_20-26.txt (3.2 KB)

Hi,

You can create a TGraphErrors directly from a text file, see
https://root.cern.ch/doc/master/classTGraphErrors.html#a5f6ab98471c9e48337cbbedbbfad07e1

or just write a small program (in C++ or Python) reading your text file and filling the TGraphErrors

Lorenzo