white pad

From: Margar Simonyan <Margar.Simonyan_at_cern.ch>
Date: Thu, 10 Aug 2006 16:13:59 +0200


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 - 16:16:51 MEST

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