How can I get rid of interconnected line between data points

How can I get rid of interconnected poly-lines between data points when I
plot a GraphErrors object defined in a rootfile?

test.cc{

TFile * rootfile = new TFile(“test.root”,“RECREATE”,“test”);
GraphErrors * gr = new GraphErrors(n,x,y,ex,ey);
gr->Write(“gr”);
rootfile->Close();

}

root> TFile *file = TFile::Open(“test.root”)
root> gr->Draw(“a”);

It draws the plot with the poly-line even with out the draw option “L”.

Thanks,

Without a short but complete script, I do not see why the line is drawn. Anyhow you should call Draw with option “ap”

Rene