I’m having problems changing the fill color and style of a histogram. A colleague of mine sent me a root file containing a TCanvas, from which I grabbed a histogram, TH1F. However, no matter what I do, I can’t seem to change the fill style or drawing options of the histogram itself. The only things I can change are the marker size/style/color. I would really like to change the points to a curve or line, and also fill it.
I’ve tried the standard method I always use (explained here: TAttFill at root.cern.ch/root/html/TAttFill.html ) but to no avail.
I’m guessing it has something to do with the way the histogram is taken from the TCanvas, since I do this fairly often with histograms I create myself and have never had any problems.
Any ideas?
I apologize in advance if this has been answered before, but I did look and could not find anything.