Legend and numbers

Dear all,

Is there any possibility to show numbers in a legend? Like specially calculated average, maximum, minimum etc. As far as I know TLegend doesn’t support it, but maybe there is some trick that can be used in this case.
I would be grateful for any advice.


You can do it. Simply use Form when you add an entry:

   legend->AddEntry(h1,Form("Histogram filled with %d random numbers",

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