From: Alexandros Attikis [mailto:attikis_at_cern.ch]
Sent: Friday, April 08, 2011 9:35 AM
To: Fine, Valeri
Cc: Olivier Couet; Alexandros Attikis; roottalk (Mailing list discussing
all aspects of the ROOT system.)
Subject: Re: [ROOT] Problem saving canvas to png
Hi Valeri,
in fact not. The link you attach is probably related to drawing the axis twice:
TH1D->Draw("sameaxis"); (x2)
[Fine, Valeri]
I cannot say, you did not show your example and I was not able to reproduce that issue myself.
What that image shows is not TWO axes. It is TWO images shifted one against of another one slightly and overlapped.
That is why I thought the cases are similar.
Cheers, Valeri
On Apr 8, 2011, at 3:29 PM, Fine, Valeri wrote:
Hello
It is very similar to what the other user complained about see: he https://savannah.cern.ch/bugs/index.php?80560
Do you observe something like this:
https://savannah.cern.ch/bugs/download.php?file_id=18783 ?
Best regards , Valeri Fine
Brookhaven National Laboratory
Upton, NY 11973
Phone +1-631-344-7806
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of Alexandros Attikis
Sent: Friday, April 08, 2011 9:25 AM
To: Olivier Couet
Cc: Alexandros Attikis; roottalk (Mailing list discussing all aspects of
the ROOT system.)
Subject: Re: [ROOT] Problem saving canvas to png
no in fact I am using adobe acrobat reader.
Cheers,
Alexandros
On Apr 8, 2011, at 3:19 PM, Olivier Couet wrote:
I guess you are looking at ps/pdf files using gv and you encountered the problem mentioned here:
http://root.cern.ch/drupal/faq#n562
From: Alexandros Attikis
Sent: Friday, April 08, 2011 3:18 PM
To: Olivier Couet
Cc: roottalk (Mailing list discussing all aspects of the ROOT system.)
Subject: Re: [ROOT] Problem saving canvas to png
Oh and apparently in pdf and ps formats,
the filling of the histograms disappears (i.e. only the histogram lines remain but their fill area is empty).
I don't know if this problem s related at all to the png problem.
Cheers,
Alexandros
On Apr 8, 2011, at 3:13 PM, Olivier Couet wrote:
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]
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 - 16:40:08 CEST
This archive was generated by hypermail 2.2.0 : Fri Apr 08 2011 - 17:50:02 CEST