show histogram title

From: Adrian Sevcenco <Adrian.Sevcenco_at_cern.ch>
Date: Tue, 13 Sep 2011 01:33:18 +0300


Hi! I draw some histograms taken saved in root file and i dont have by default the histogram title shown above the graphic. My problem is how can i put it there?
i can retrieve it with GetTitle.. but its seem cumbersome to make a TPaveText by hand...
i seen that in the canvas that is opened i have in Options->Histogram Title that if check will show me the histogram title ... also in Edit->Style->Title (tab) there is an check box that will put the title in histogram ..
So .. is there an h->ShowTitle() somewhere? if the axis titles are retrieved from file with the histogram why the title histogram is not retrieved and shown?

Thanks!
Adrian

Received on Tue Sep 13 2011 - 00:34:07 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 13 2011 - 05:50:01 CEST