Hi everyone,
I am trying to set the opacity of a TH1F histogramh_singles
(red) line using
h_singles->SetLineColorAlpha(kRed, 0.164);
However, I am not seeing any visible changes in the canvas. Numerically I can see the opacity has been set but it doesn’t appear to be the case from visual inspection.
Can someone please suggest what is the right way of going about this?
Thanks a ton !
Edit 1: I think when I export to pdf (not png)it works.