Re: The distance of the title from the axis

From: zaldy <zaldy_at_neutrino.kek.jp>
Date: Thu, 8 Dec 2005 09:09:27 +0900 (JST)

Hi,

The quick one I think is by using the mouse (right click) then choose SetTitleOffset. The Default value is 1.

You can see this in the html file of TH1.html http://root.cern.ch/root/html/TH1.html#TH1:SetTitleOffset

In the script, you can inseert something like this f the histogram is already drawn:

.....
......
histo->Draw();
histo->GetXaxis()->SetTitleOffset(Value); .......and more

You can see the effect by changing the values of the parameter "Value" near the default values.

Hope that helps.

Zaldy N.

>On Wed, 7 Dec 2005, nasim wrote:
>
>
> Hi,
> How can one create more space between the title (X or Y) and the axis.
>
> Thanks,
> Nasim
>

-- 
Zaldy A. Nawang
Received on Thu Dec 08 2005 - 01:13:32 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:14 MET