{ TGraphErrors *ge = new TGraphErrors(2); ge->SetName("aaa"); // <<< without this it works ge->SetPoint(1, 1, 1); ge->SetPoint(2, 2, 1); ge->Draw("ap*"); gPad->Update(); ge->SavePrimitive(cout); }
"By default, when a data point is outside the visible range along the Y axis the error bars are not drawn. Combined with other options, this option forces error bars' drawing for the data points outside the visible range along the Y axis."
A similar option already existed for histograms.