Hi Alberto,
Change the title offset:
histo->GetYaxis()->SetTitleOffset(0.1);
Cheers, Olivier
On Thu, 7 Apr 2005, Alberto Pulvirenti wrote:
> Dear all,
>
> I have a problem with histogram drawing.
> For some reasons, I need to draw axis titles quit huge, but when I draw the
> histogram, they are cut off from the canvas, and the result is that I cannot
> read them.
>
> I found description of a "TFrame" object which contains the histogram plot,
> but I didn't manage to operate with it.
>
> I would like to understand if it is possible to change the position of the
> frame, or if it is possible to resize it.
>
> In attachments, you see two pictures: first one is the plot as ROOT draws it.
> Second one is what I want to obtain, which I did moving the frame by hand,
> while I would like to do this operation automatically.
>
> Someone can help me?
>
> Thansk and best regards
>
> Alberto
>
-- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet_at_cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7670300Received on Thu Apr 07 2005 - 17:12:26 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET