Re: Postscript

Rene Brun (Rene.Brun@cern.ch)
Wed, 19 Feb 1997 12:08:51 +0100


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