Hi,
Are you speaking about the Title (as the email title suggested) or about the labels (as the email body suggested) ? The Axis labels position can be controled with the settings you will find here: http://root.cern.ch/root/html/TAttAxis.html
The title can be positionned using histo->GetXaxis()->CenterTitle(); or with all the "Title"setting you will find here: http://root.cern.ch/root/html/TStyle.html and, again here: http://root.cern.ch/root/html/TAttAxis.html
OC
-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of James Jackson
Sent: Thursday, December 11, 2008 2:13 PM
To: roottalk_at_root.cern.ch
Subject: [ROOT] TH2F: Move axis title
Hi,
I have a 2D histogram drawn in LEGO view. When I rotate this into the project I want, the maximum of the X and Y axes are then pointing towards the viewer. ROOT therefore puts the axis labels here. Is it possible to move then to the other (minimum) end of the axis?
Regards,
James.
Received on Thu Dec 11 2008 - 14:21:38 CET
This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 17:50:02 CET