i want to plot multiply x and y arrays into a same graph
suppose I have an abc.log file i read it and open a new file from it , I got x and y arrays now i plot it on a graph, now in another loop, i read the second line of the file and get new x and y arrays I want to plot it on the same graph how can I do it i have tried but still if someone can give any help will be appreciated.
This seems a generic Python/C++ exercise, I am sure you can find online lots of examples!
Let us know if you encounter any issue using TGraph once you read in all the data!
Not sure what exactly you mean by this, but if you have several TGraphs, you can plot them “together” (superposed on the same canvas/pad) by Adding them to a TMultiGraph and then Drawing the multigraph.