Re: white pad

From: Ilka Antcheva <Ilka.Antcheva_at_cern.ch>
Date: Thu, 10 Aug 2006 18:27:42 +0200


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 Thu Aug 10 2006 - 18:28:39 MEST

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