How to make custom legends including text with "f" option


How would it possible while using the “f” option in the leged, to put some custom text inside the box ? ie like in the first example as shown here to put some text inside the green box in the legend (like a ratio or entries of histo)


TLegend does not offer this interface. You will need to draw a text on top using TText or TLatex.

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