How to change the size of a plotted histogram in the Canvas

Hi All,

I got a problem when change the size of the axis label and title the title go out size of the canvas or pad, is there any way to change the size of the plotted histogram? I just want to make label and title bigger.


If the labels and title are bigger and if you want to see them, you need to enlarge the bottom margin of your canvas:

 c1->SetBottomMargin(0.3);

Thank you very much.

I have additional problem: If I use
c->Divide(2,2);
c->cd(1);
and draw the histogram, how can I enlarge the pad I draw on?

[quote=“couet”]If the labels and title are bigger and if you want to see them, you need to enlarge the bottom margin of your canvas:

c1->SetBottomMargin(0.3); [/quote]

c->cd(1);
gPad->SetBottomMargin(0.3);