Problem saving canvas to png

From: Alexandros Attikis <attikis_at_cern.ch>
Date: Fri, 8 Apr 2011 14:55:52 +0200


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 - 14:55:56 CEST

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