I’m drawing a TH2F like so:
h2->Draw(“TEXT”);
I wanted to change the font of the text that is drawn. I know how I can change the size using SetMarkerSize but how do I change the font of the text?
Thanks
Sarah
I’m drawing a TH2F like so:
h2->Draw(“TEXT”);
I wanted to change the font of the text that is drawn. I know how I can change the size using SetMarkerSize but how do I change the font of the text?
Thanks
Sarah
gStyle->SetTextFont()
It is said here: root.cern.ch/root/html/THistPainter.html#HP15
but may be not clear enough. I will make it clearer.