Re: TPad based legend shown on screen and eps, not png/gif.

From: Valeriy Onuchin <Valeri.Onoutchine_at_cern.ch>
Date: Fri, 20 May 2005 09:13:23 +0200


Hi Brett,
I LIKE such extreem examples :-) a good chance to improve and optimize a code. Yours TGraph has 477575 points (!!!). Thanks, that they are not drawn as polymarkers. Nevertheless I hope to improve very much TImageDump's performance for such cases.

Thanks for example. Regards. Valeriy

Brett Viren wrote:

> Rene Brun <brun_at_pcroot.cern.ch> writes:
>
> > Please send a concrete example reproducing this timing problem and
> > others. As I said, all what you described has been fixed several days
> > ago by Valeriy.
>
> Hmm, okay. When I built the version I'm using I had some trouble with
> building ASImage, (confusion between built-in and external versions).
> I thought I finally worked everything out but maybe not. I'll do a
> full distclean and update to HEAD and see if this clears the problem
> up. I'll let you know one way or the other.
>
> For completeness, and to prove I'm not crazy (or maybe to prove I
> am!), a concise test is available at:
>
> http://minos.phy.bnl.gov/~bviren/cern/root/test_imagedump.tgz
>
> There is a fodder TGraph in the .root file and a driver script. Note
> that in the dump'ed images (included in the .tgz file) the TGraph is
> distorted such that it appears to cover most of the canvas.
>
> bviren_at_coop:test> root -q -l test_imagedump.C
> root [0]
> Processing test_imagedump.C...
> <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
> Info in <TCanvas::Print>: eps file pot-print.eps has been created
> Info in <TCanvas::Print>: file pot-print.png has been created
> Info in <TCanvas::Print>: file pot-print.gif has been created
> dumping gif
> Real time 0:01:14, CP time 73.830
> dumping png
> Real time 0:01:14, CP time 73.820
>
> Thanks.
> -Brett.
Received on Fri May 20 2005 - 09:13:29 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET