Re: [ROOT] Problems with TPostScript

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Oct 31 2001 - 18:37:14 MET


Alexander,

You should use the "Plain" style. Do:
  root > gROOT->SetStyle("Plain");
  root > myhist.Draw();
  root > c1.Print();

Rene Brun

Alexander Dietz wrote:
> 
> Hello,
> 
> I want to save some pictures as postscript in a postscript-file using
> TPostScript. This works fine, but when looking at the picture (in the
> canvas or with ghostview..) the background-color ist not white but light
> grey.
> How can I change the color to white?
> 
> I tried using c1->SetFillColor(0) (c1 beeing my canvas) but this doesn't
> work. With this command only a small area of my postscript-picture is
> filled with the given color, and nearly the whole rest of the picture is
> again shaded light grey.
> 
> What can I do?
> 
> Regards
> 
>         Alexander
> 
> -----------------------------------
> Alexander Dietz
> Max Planck Institut fuer Kernphysik
> 
> Postfach 10 39 80
> D-69029 Heidelberg
> 
> Tel. 06221-516259



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET