Hi Stanislav,
Yes, I see your PS file is gray. The PS file I get is not exactly the
same as yours. I have done a diff between my PS file and yours and I get:
My:
< gsave 0 0 t black [] 0 sd 3 lw 1 1 1 c 2268 1538 0 0 bf
^^^^^^^^^^^^^^^^^^^^^^^^
background is white
Your:
> gsave 0 0 t black [] 0 sd 3 lw 1 1 1 c 0.95 0.95 0.95 c 2268 1522 0 0 bf
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Background is is gray
I use the same version as you. So for some reason I do not understand yet
your version has an extra "gray directive": 0.95 0.95 0.95 c
Olivier
On Tue, 13 May 2003, Stanislav Nesterov wrote:
> Hi Olivier,
>
> I've make the same steps with 3.05/05 AFS rh73 (EPS and GIF) and
> obtained to pictures: EPS is gray and GIF is white. See attachment.
>
> Best regards,
> Stanislav.
>
> On Tue, 13 May 2003, Olivier Couet wrote:
>
> >
> > Hi Tohru,
> >
> > I have just tried what you suggested:
> >
> > root [1] gStyle->SetFillColor(0)
> > root [2] TCanvas foo
> >
> > Then I produced the ps and gif files from the canvas' File menu. They are
> > both white. I did the test on Linux with Root 3.05.05. What color do you
> > get in the gif and ps files ?
> >
> > Cheers,
> >
> > Olivier Couet
> >
> > On Tue, 13 May 2003, Tohru Ohnuki wrote:
> >
> > > I'm using the latest, 3.05.05. If you open a root session, do
> > > gStyle->SetFillColor(0), TCanvas foo and go to the File menu of the canvas
> > > and save canvas.eps and canvas.gif. I get different color canvases though
> > > on screen it appears white.
> > >
> > > Regards,
> > >
> > > Tohru O.
> > >
> > > UCLA Physics & Astronomy Dept.
> > > GSR-IV Data Monkey
> > > ohnuki@physics.ucla.edu
> > >
> > > On Tue, 13 May 2003, Rene Brun wrote:
> > >
> > > > Hi Tohru,
> > > >
> > > > I cannot reproduce your problem with color 0.
> > > > Please send a short script that we can use to reproduce the problem
> > > > and tell me which version of Root you use.
> > > >
> > > > Rene Brun
> > >
> > >
> >
> >
>
>
--
Org: CERN - European Laboratory for Particle Physics.
Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910
E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522
WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET