Re: Very big postscript files

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Sep 25 1999 - 08:06:41 MEST


Hi Dimitri,
raster Postscript is useless. Root produces vector Postscript.
Root and PAW use the same technique to generate Postcript
output. This was originally developped by Pierre Juillot
from Strasbourg.
The difference in size seems to be due to the different
buffer sizes used when drawing polylines and fill areas.
In the case of a 65000 channels histogram, Root decomposes
this into a set of vectors of length 100 instead of generating
one single call to Postscript.
I was thinking to reimplement the TGraph class (where most
of the logic is) to add axis to the TGraph and also
change the way the buffers to Postscript are generated.
This will not be, however, in the first release of 2.23.

Rene Brun

On Fri, 24 Sep 1999, Dmitri Litvintsev wrote:

> 
> 
> Hi All, 
> 
> 	My I suspect that it happens beacuse in contrast to PAW
> ROOT generates raster PostScript?
> 
> Dmitri Litvintsev
> 
> 
> On Thu, 23 Sep 1999, Damir Buskulic wrote:
> 
> > Hi,
> > 
> > We had to produce histograms having a large (65000) number of bins.
> > Using "save as .eps" in the file menu of a TCanvas, we noticed that the
> > size of the produced postscript file was huge (3MB). This is in contrast
> > with the size of the postscript file produced by PAW, which, for the
> > same histogram, is 26 kB !
> > Why is there such a difference ? Any way to overcome the problem ?
> > 
> > Cheers
> > 
> > Damir
> > -- 
> > =====================================================================
> > | Damir Buskulic                  | Universite de Savoie/LAPP       |
> > |                                 | Chemin de Bellevue, B.P. 110    |
> > | Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
> > | e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
> > =====================================================================
> > mailto:buskulic@lapp.in2p3.fr
> > 
> 



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