TRatioPlot : how to access Y axis (top and bottom) and disable it

Root 6.18/04
I would like to access the y axes in a TRatio plot for 2 reasons :

  1. customize the range
    ratio_20_30->GetUpYaxis()->SetRangeUser(0., 60.); is not working
  2. taking as example https://root.cern.ch/doc/v618/canvas2_8C.html i am trying to stitch together 5 ratio plots but the labels on y make them really inequal …
    So, can somebody point me to the correct ways to achieve my goals?
    Thanks a lot!!
    Adrian

ratio_20_30->GetUpperRefYaxis()->SetRangeUser(0., 60.);

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.