RE: Problem saving canvas to png

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Fri, 8 Apr 2011 13:13:16 +0000


Ok I will .

From: Alexandros Attikis
Sent: Friday, April 08, 2011 3:02 PM
To: Olivier Couet
Cc: roottalk (Mailing list discussing all aspects of the ROOT system.) Subject: Re: [ROOT] Problem saving canvas to png

Hi Olivier,

I am running on SLC5, ROOT 5.26.00
I do not set "ROOT->SetBatch(true);"

Cheers,
Alexandros

On Apr 8, 2011, at 2:58 PM, Olivier Couet wrote:

Hi,

On which machine and with ROOT version do you see this problem ? Are you running in batch or interactive mode ?

Cheers,
Olivier

-----Original Message-----
From: owner-roottalk_at_root.cern.ch<mailto:owner-roottalk_at_root.cern.ch> [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Alexandros Attikis Sent: Friday, April 08, 2011 2:56 PM
To: roottalk (Mailing list discussing all aspects of the ROOT system.) Subject: [ROOT] Problem saving canvas to png

Hi all,

I have created a plotter class that mainly manipulates TH1D's and THStacks (weighting, setting styles etc..) before plotting multiple them on a TCanvas.

The problem I am experiencing is that when I save the canvas to png format, the png image is somewhat corrupted, in the sense that at the half bottom of the picture the top half part is repeated. It's like the picture is "tiled". Has anyone experienced this problem before? Any hints of how to avoid it?

Cheers,
Alexandros Received on Fri Apr 08 2011 - 15:13:22 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 08 2011 - 17:50:02 CEST