Hi,
Let's assume you have a graph Graph1. You can do:
Graph1->GetXaxis()->SetTitle("X title");
By default the title is displayed at the right of the axis. You can center it with:
Graph1->GetXaxis()->CenterTitle(true);
You can do the same with histograms.
O.Couet
On Sat, 19 Nov 2005, OKUMURA, Akira wrote:
> Hello ROOTers,
>
> I would like to align an axis title at the left end of the axis.
> Like 'atitle "x" "y" "z" 111' in PAW.
>
> It may be one of FAQ, but I could not find an answer with Google.
>
> Thank you in advance.
>
> OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
> Institute for Cosmic Ray Research, University of Tokyo
> 5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan
> Phone/Fax : +81 4-7136-3153
> Skype : okumura.akira
>
>
-- 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 Mon Nov 21 2005 - 14:34:47 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET