Write comment on a graph


ROOT Version: 5.34/36
Platform: lxplus
Compiler: Not Provided
___I’ve created a 3*2 graph using TCanvas. Since I only have 5 pictures to put on it, I would like to write some comment in the last vacancy. However, I couldn’t figure out how to do that.

A TLatex or a TMathText or simply a TText.

Pretty handy. Thank you.

Hi, I’m using TText and it seems that I can only write everything in a single line.
Do you know how to change to a new line in TText?

Yes, TText allows one line one. With TLatex you can use #splitline or if you have a complete paragraph TPaveText might be a better solution.

See also TPaveText and TPaveLabel and do not forget about TLegend (maybe that’s what you are really looking for).