Drawing data by using ROOT

Hello every one,
if i have ( x,y ) data and i want to draw them by using ROOT
what should i write in the macro ?
thank you

http://root.cern.ch/download/doc/4Graphs.pdf
http://root.cern.ch/root/html/TGraph.html#TGraph:TGraph
http://root.cern.ch/root/html/TGraphErrors.html#TGraphErrors:TGraphErrors%8

http://root.cern.ch/download/doc/3Histograms.pdf

http://root.cern.ch/download/doc/12Trees.pdf
http://root.cern.ch/root/html/TTree.html#TTree:ReadFile

http://root.cern.ch/root/html/tutorials/
http://root.cern.ch/drupal/content/users-guide