Re: Multiple pictures in .ps

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jan 13 2000 - 15:55:42 MET


Hi Alexey,
This problem with the empty page on the Postscript file seems to appear
only when you produce a 2-d histogram via TTree::Draw.
For normal 1-d, 2-ds, etc, there are no problems.

I will fix this in the next version.

Rene Brun

Alexey Toptygin wrote:
> 
> I tried working with the information from your tutorial, but I
> consistently get an error.
> 
> Here's what I do: (both interactively and from scripts.)
> 
> TFile file("Science.root");
> TCanvas can("can","a0:a1",700,500);
> TPostScript ps("b_0.ps",112);
> bgoadc.Draw("a0:a1","lay==0&&cry==0");
> bgoadc.Draw("a0:a1","lay==0&&cry==1");
> ps.Close();
> can.Close();
> .q
> 
> Instead of getting 2 pages in the .ps file, I get 4, with 1 and 3 blank
> and 2 and 4 the desired pages.
> Does anyone know how to fix this?
>                                 Alexey



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET