假设我有以下 TGraphError 图:
double ex_1[] = {0.4, 0.55, 0.73, 0.79, 0.89, 0.97};
double ey_1[] = {0.275497,0.577353,1.12619,1.61994,1.44495,2.68186};
TGraphErrors* ge = new TGraphErrors(6, X_1, Y_1, ex_1, ey_1);
ge->Draw("AC*");
ge->GetXaxis()->SetLimits(-10. , 140);
dirOne->Append(ge);
如何在此图上添加一条简单的线,只说 x=0?