I have a problem with a TGraphAsymmErrors…
the format to give in input the data in this graph is TGraphAsymmErrors( x,y,elx, ehx, ely, ehy)
My problem is that I have to read a data from an ASCII file, so I select the columns with %*s… the problem is that my elx is a column befor respect to y…
isn’t it much easier to first format the columns of your original file with data in the exact needed order? For example, if your x, y and elx occupy columns #7, 13 and 10, respectively, and, let’s say, ehx, ely and ehy are in columns #15, 4 and 11 (I chose these numbers randomly), you can do the following:
, and the newly created data_modified.csv will have your columns rearranged in the order 7-13-10-15-4-11, and all other columns will be deleted. Then you simply do