I read histograms from a file in a loop (actually 3 loops) and I want to give it a Fill color in order to use it in a stack after the loop. However, SetFillColor() doesn’t seem to affect the histo, the only thing that works is SetMarkerColor(). But I would like to use the fill to visualize the stack better.
You will find my code attached.
(Btw, I tried doing it seperately without the loop, and it works nicely )
Thanks couet, indeed now i see the fill in the histogram. Now regarding the stack, which is my goal, what should I do to see the Filled area there? I mean I would like to have the default plotting option that and also the filled area of the stack that I see in the first plot here: https://root.cern.ch/doc/master/classTHStack.html
Right now, I add to the stack histograms that are already filled.