Re: white pad

From: Margar Simonyan <Margar.Simonyan_at_cern.ch>
Date: Fri, 11 Aug 2006 09:58:51 +0200


Hello

Ilka, thank you, your answer helps.

Rene, I suppose there is no need now to provide running script reproducing the problem.

Chawon, your suggestion also works.

Thank you all,
Margar

Ilka Antcheva wrote:

> Hi Margar,
> 
> canvas->SetFrameBorderMode(0);
> should help to avoid the red line.
> 
> Cheers, Ilka
> 
> Margar Simonyan wrote:

>> Hello
>>
>> I have difficulties to obtain white pad without any background.
>> The following lines are used to remove background
>>
>> canvas->cd(1);
>> gPad->SetFillColor(10);
>> gPad->SetFrameFillColor(10);
>> gPad->SetFillStyle(0);
>> histo->Draw();
>> gPad->SaveAs("pad.eps");
>>
>> The resulting file contains as background lot of small dots, which can
>> be seen after printnig.
>> If color is set 0 instead of 10 in above two functions, then the
>> resulting file has strange red lines near to axis. See the attachment.
>>
>> Could you say what is the correct way of doing this.
>> I am using 5.12 version on SLC3.
>>
>> Thanks in advance,
>> Margar Simonyan
Received on Fri Aug 11 2006 - 10:01:44 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET