{ double y[6] = {3, 8, 1, 10, 5, 7}; auto g = new TGraph(6,y); g->SetTitle("A Graph with default X points"); g->Draw(); }