Latex size in many pad

Hi !

I am using this file
https://root.cern.ch/root/html/tutorials/graphics/canvas2.C.html
to draw many pad in the same canvas. But I have currently a problem with the TLatex. When I want to draw a different TLatex in each pad, the size of the text is different … (even I fix her size). I don’t understand why. Do you have some idea ? Thanks a lot !

Charles

can you provide a reproducer ?

canvas2.C (5.0 KB)

Thank you. I attached a macro ROOT.

         TLatex *t1 = new TLatex(-4,400,"Reference Case");
         t1->SetTextFont(43);
         t1->SetTextSize(10);
         t1->Draw();

Thanks a lot !! It works !

Charles

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