# TRatioPlot question

**URL:** <https://root-forum.cern.ch/t/tratioplot-question/32268>\
**Category:** Newbie\
**Created:** [January 12, 2019, 8:19pm UTC](https://root-forum.cern.ch/t/tratioplot-question/32268 "2019-01-12T20:19:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcroark](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/c4cdca/32.png) [@tcroark](https://root-forum.cern.ch/u/tcroark)\
**Post date:** [January 12, 2019, 8:19pm UTC](https://root-forum.cern.ch/t/tratioplot-question/32268/1 "2019-01-12T20:19:20Z")

</div>

Hi All,

I created a TRatioPlot using two histograms, a reconstructed IM\_PipPim distribution and a generated IM\_PipPim distribution. I understand the lower plot that is produced is a TGraphAsymmErrors.

My question is, if I have to divide real data in the form of a TGraph, how can I use the acceptance plot (lower plot produced from TRatioPlot above) to do this? Is there anyway to extract each point and its error from the lower plot of the TRatioPlot?

Thanks!

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [January 12, 2019, 9:01pm UTC](https://root-forum.cern.ch/t/tratioplot-question/32268/2 "2019-01-12T21:01:36Z")

</div>

[TRatioPlot::GetCalculationOutputGraph](https://root.cern.ch/doc/master/classTRatioPlot.html#a6b5649e3847b2178573a68acc89e18da)  
[TRatioPlot::GetLowerRefGraph](https://root.cern.ch/doc/master/classTRatioPlot.html#a8675626d57d9b5ed62a9201f3998341b)
