Hello,
SetTitle() changes the axes titles sizes. For the global title do:
gStyle->SeTitleFontSize();
frame1->Draw()
Cheers, O.Couet
-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of Nevzat Guler
Sent: Wednesday, October 10, 2007 12:26 PM
To: Root Group
Subject: [ROOT] DrawFrame, title size for the general title
Hello, I am doing the following: sprintf(title, " AAAAAA "); TH1 *frame1 = c1->DrawFrame(wrmin,-1.0,wrmax,1.0); frame1->SetTitle(title); frame1->GetXaxis()->SetTitle("W(GeV)"); frame1->GetXaxis()->CenterTitle(); frame1->GetYaxis()->SetTitle("A1 electron"); frame1->GetYaxis()->CenterTitle(); frame1->GetYaxis()->SetTitleOffset(1.2); frame1->GetYaxis()->SetLabelSize(0.03); frame1->GetXaxis()->SetLabelSize(0.03);
I want to increase the title size of this (the size of AAAAA ) But
frame1->SetTitleSize(1.1); does not seem to have any effect.
How can I do this..
Thank you very much..
Nevzat Guler Received on Wed Oct 10 2007 - 13:20:37 CEST
This archive was generated by hypermail 2.2.0 : Wed Oct 10 2007 - 17:50:01 CEST