Re: [ROOT] Canvas saves File xyz.Cxyz.ps as macro instead of ps!

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 05 2002 - 14:36:06 MEST


Hi Andreas,

This is teh correct behaviour documented at TPad::Print and TPad::SaveAs.
For example, see:

http://root.cern.ch/root/htmldoc/TPad.html#TPad:SaveAs

Rene Brun

On Fri, 5 Jul 2002, Andreas Zoglauer wrote:

> 
> Hello,
> 
> This is only for information purposes.
> 
> When I try to store a canvas as a postscript file and the file name
> contains the string ".C" plus the appropriate file extension ps or eps,
> then the file is stored as C++ macro file instead of postscript.
> 
> e.g Store as "xyz.Cxyz.ps" is stored as macro
>               xyz.cxyz.ps" is correctly stored as ps file
> 
> This can easily be reproduced with the hsimple.C tutorial example.
> 
> 
> Andreas
> 
> ROOT: todays version
> 
> 
> 
> ----------------------------------------------------------------------
> Andreas Zoglauer
> 
> MPI fuer extraterrestrische Physik         Phone:    +49/89-30000-3848
> Postfach 1312                              Fax:      +49/89-30000-3569
> 85741 Garching, Germany                    Email:    zog@mpe.mpg.de
> ----------------------------------------------------------------------
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET