Re: Postscript

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 19 1997 - 12:08:51 MET


Matthias Vitt wrote:
> 
> Maybe I am doing something wrong:
> 
> I have a canvase c1 and a graph gr. I open a Postscript-file as you
> wrote:
>         TPostscript mps("plot.ps");
>         mps.Range(8,8);
> 
> then is I use:
> 
>         gr.Draw("ACP");
>         mps.Close();
> 
> the PS-file is empty (I check it with ghostscript -view). If I use
> 
>         gr.Draw("ACP");
>         c1.Draw();
>         mps.Close();
> 
> The PS-file contains everything, but has default-size (x=20 cm),
> although I changed it with the Range() command;

The name of the class is TPostScript, not TPostscript.
In case this was not the problem, please send me a copy of
your macro. I cannot reproduce the problem.
Send the macro to Rene.Brun@cern.ch

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET