I’m runnignthe attached .C. I turn off the stats box with
draw sone histos, and then want to turn the stats box on again so I do:
but subsequent histo has no stats box. What am I doind wrong
stats.C (3.56 KB)
There are unfortunatly missing files in your script, so I cannot execute it.
However, if you change style and your histogram has already been drawn with an existing style (attributes are marked in the object), you should force the current style to be used in teh histogram. Just before your second Draw, add the line as shown below
Thanks Rene, that did it.