Dear Valeri
thanks!
It did not work, maybe I must reframe my question.
Please see the few lines below:
//////////my macro///////////////////////////////////TCanvas *cv1 = new TCanvas("cv1","Separation studies",0,0,sizex,sizey); cv1->SetFillColor(10);
gStyle->SetTitleX(0.7); //what you have suggested.
pad2 = new TPad("pad1","The pad with the function",0.01,0.01,0.50,0.33); pad1 = new TPad("pad2","The pad with the function",0.50,0.01,1.00,0.33); pad4 = new TPad("pad3","The pad with the function",0.01,0.33,0.50,0.66); pad3 = new TPad("pad4","The pad with the function",0.50,0.33,1.00,0.66); pad6 = new TPad("pad5","The pad with the function",0.01,0.66,0.50,0.99); pad5 = new TPad("pad6","The pad with the function",0.50,0.66,1.00,0.99); /////////////////////////////////////////////////////Here I have divided my canvas into 6 pads. For some pads I want the title on the "right side" instead of the "default left".
Am i doing it right?
regards
debasish.
> Try:
>
> gStyle->SetTitleX(0.7);
>
> The default is TStyle::SetTitle(0.0)
>
> ----
> Best regards
> Valeri
>
>
>> -----Original Message-----
>> From: owner-roottalk_at_pcroot.cern.ch
> [mailto:owner-roottalk_at_pcroot.cern.ch] On
>> Behalf Of DEBASISH DAS
>> Sent: Friday, December 02, 2005 11:50 AM
>> To: roottalk_at_root.cern.ch
>> Subject: [ROOT] histogram title orientation
>>
>> Hi rooters
>> I wish to put my graph title on "right side" of my pad instead
> of
>> the default left side.
>> What command do I need to change that? Any option?
>> regards
>> debasish.
>
>
Received on Sat Dec 03 2005 - 07:54:32 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:14 MET