SetFillStyle doesn't work

Hello All,

I am trying to change a histogram from a plain color filled histogram to one filled with anyone of the textured styles i.e. h->SetFillStyle(3001) but whenever I try this the histogram is not filled at with the chosen texture rather it is transparent.

Has anyone seen this behavior and/or know a fix. Is there some canvas setting that makes this happen?

Thanks,
G

Did you fill your histogram with a color, ie h.SetFillColor(kRed) ?

Rene

Hello!

I have tried both filling with a color and without a color. Neither work.

Gabriel

Hello!

I should clarify that is is simply a histogram stored in a file. If I open the file on the command line, I can get the desired result. But in the macro I cannot.

G

Could you post the shortest possible script (and data file) reproducing the problem?

René

Hi! The problem was not with root but with the program I was using to view the resultant plots.

Thanks for the help anway!!

G