I want to add a couple of numbers calculated previously to TLegend. How can I do it?
const double_t a = 10; const double_t b = 5; TLegend *legend = new TLegend(0.53,0.7,0.79,0.95); legend->SetHeader("","C"); legend->AddEntry(a/b, "ratio="," ");
This is not working…
Thanks in advance,