Hi again,
I found the problem and it is a weird one. Apparently I chose to fill all but one of the histograms with the fill-style 3000, when I meant to use 1001 (solid). This however did not result in a compilation error or even a drawing error as the canvas was painted correctly and even saving in PNG format was fine. However, vector format pictures did not register the fill color. Now, when I added another histogram with a fill style 3354 to the "equation" caused all the histogram styles to be changed to 3001!
Anyway, this must sound too complicated. The bottom line is that I used 3000 as fill style instead of 1001 and the end result was this strange result! Problem solved.
Cheers,
Alexandros
On Apr 18, 2011, at 2:32 PM, Alexandros Attikis wrote:
> Hi Olivier, > > that is a good suggestion. I will try that. > > Cheers, > Alexandros > > On Apr 18, 2011, at 2:30 PM, Olivier Couet wrote: >
>>> Hi, >>> >>> Can you send a small example reproducing the problem ? >>> On which machine are you running ROOT ? >>> Which ROOT version ? >>> >>> Cheers, >>> O.Couet >>> >>> -----Original Message----- >>> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Alexandros Attikis >>> Sent: Monday, April 18, 2011 11:55 AM >>> To: roottalk (Mailing list discussing all aspects of the ROOT system.) >>> Subject: [ROOT] Unusual Drawing Problem >>> >>> Hi all, >>> >>> I am experiencing an unusual problem. >>> I have a script in which I clone one of histogram, rename it and then I draw it with the option ("sameE2") >>> on a canvas with 4 more histograms. >>> I set the fill style of this histogram to 3354 (or any other hatched style) but the result is to change all histograms from solid fill color to 3001 (or something similar). >>> If i disable the style of this histogram or choose not to draw it the problem disappears and all histos are drawn with the selected styles. >>> Has anyone seen anything like this before? >>> >>> Cheers, >>> Alexandros >>>
This archive was generated by hypermail 2.2.0 : Tue Apr 19 2011 - 17:50:01 CEST