Hi Damir, I have now reimplemented the function TPad::PaintPolyline to be more efficient both on the screen and Postscript. Using your example with an histogram of 65000 bins, the Postcript file produced is now 240 Kbytes instead of 3.7 Mbytes. Note that you had an error of a factor 10 concerning the file size for PAW. for this example, the new Root and PAW produce a file of 240 Kbytes. (You obviously need at least 4 bytes per bin). Rene Brun 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:41 MET