Re: Histogram title/label font sizes and positions

Rene Brun (Rene.Brun@cern.ch)
Fri, 25 Sep 1998 17:10:41 +0200


Stephen Bailey wrote:
>
> Hi. I'm trying to make several histograms in several pads
> of the same canvas and I want to make the title/label fonts
> larger than default so that they are readable when printed
> as a transparency.
>
> By the time I get my axis labels large enough to read,
> I have to set the title offset so large that it runs the
> titles off the canvas or pad, thus obscuring them. Is
> there a way to force the histogram to print a little smaller,
> thus leaving more room for labels and titles?
>

Hi Stephen,
I suppose you mean the histogram axis titles, not the main title.
You can use the following functions to help you:
TAxis::SetTitleOffset to position the axis title differently
TPad::SetMarginLeft, etc to give more room to labels/titles
in case you want to generate big labels.

Rene Brun