Extract variables from graphs

I am new to ROOT and wondered if anyone can help me with this. I have a 2-d graph plot. I need to have the x and the y variables of the points on the plot with the error bars. Can anybody tell how to extract the x, y points ( the abscissa and the ordinate) along with the error bars.


You have all the needed “getters” here:


virtual Double_t GetErrorX(Int_t bin) const
virtual Double_t GetErrorXhigh(Int_t bin) const
virtual Double_t GetErrorXlow(Int_t bin) const
virtual Double_t GetErrorY(Int_t bin) const
virtual Double_t GetErrorYhigh(Int_t bin) const
virtual Double_t GetErrorYlow(Int_t bin) const
virtual Double_t* GetEX() const
virtual Double_t* GetEXhigh() const
virtual Double_t* GetEXhighd() const
virtual Double_t* GetEXlow() const
virtual Double_t* GetEXlowd() const
virtual Double_t* GetEY() const

etc …