Re: merge canvas prints to one file

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 14 1997 - 13:56:36 MEST


Robert Loke wrote:
> 
> Hi,
> 
> is there a chance to merge the saved content of several canvases in one
> file?
> 
> If there's only on canvas to be saved, it's easy using canvas.Print(...).
> But calling this twice (or even more often), the previous content becomes
> overwritten.
> Is there an option for appending the next plot to this file?

Assume a canvas c1, you can do:
  TPostScript ps("file.ps",112);
  c1.Paint();
  ps.Newpage();
  c1.Paint();   (at this point c1 has already been updated
  ps.NewPage();
  c1.Paint();
  ...
  ps.Close();

Rene Brun



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