Plotting a graph

Hi ROOTers
I want to plot a graph (not a histogram) for a set of data from input file. Then I have to apply an algorithm upon the values of y(x).

Thanks in advance

TGraph is the class you need. You can have a look at the reference guide for TGraph.