This is an old revision of the document!
from ROOT import * from array import array x = [1,2,3,4] # a list y = [5,6,7,8] # a list graph = TGraph(len(x),array('f',x),array('f',y)) # convert lists to arrays