Re: [ROOT] Difference in gif vs eps saved canvases

From: Stilianos Kesisoglou (kesisogl@fnal.gov)
Date: Tue May 13 2003 - 03:53:59 MEST


Hi Tohru,

    Try to set the color of your canvas to white (assuming 'cnv' is a
pointer to your canvas):

        cnv->SetFillColor(10);

Stelios.

----- Original Message ----- 
From: "Tohru Ohnuki" <ohnuki@physics.ucla.edu>
To: <roottalk@pcroot.cern.ch>
Sent: Monday, May 12, 2003 8:17 PM
Subject: [ROOT] Difference in gif vs eps saved canvases


> Hello all, not sure if this a recent problem. I'm using
> gStyle->SetFillColor (0) to make all the backgrounds to plots white, which
> is what i get on screen and in saved gif files, but not in saved eps
> files. I get a standard root grey pad and histogram and a white legend box
> when i save the canvas to eps. This is with root-3.05.05 compiled with
> gcc-2.96rh on rh7.3.
>
> Regards,
>
> Tohru O.
>
> -- 
>   UCLA Physics & Astronomy Dept.
>   GSR-IV Data Monkey
>   ohnuki@physics.ucla.edu
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET