TRatioPlot with TLatex

Hi everyone,

I tried the TRatioPlot tutorial here.

It works great, but it is not obvious to me how this interacts with TLatex.
Besides the following two lines, what else is needed to add the “ATLAS” label to the UpperPad?

TLatex latex;
latex.DrawLatex(0.55, 0.78, “ATLAS”);


TPad *p = rp->GetUpperPad(); if (p) p->cd();
TLatex latex; latex.DrawLatexNDC(0.55, 0.78, "ATLAS");
c1->cd(0); c1->Modified(); c1->Update();

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