Visualising a 2d histogram with errors

Hi,

I note that the THistPainter class includes a function, Paint2DErrors(), which presumably draws error bars on a two dimentional histogram. Can someone tell me how to activate this option? I’ve tried the obvious “hist e”, “p e”, “lego e”, etc. I’m using v4.02.04 and am actually trying to paint a TProfile2D.

mike kordosky

Option E is enough as shown in the example here.

are you really using 4.02.04 (year 2004)

this option was introduced only sometimes in v 5
Otto

Oh yes that’s a very old ROT version (Thanks Otto I had not noticed).
I just browse the old doc versions and I see the first time it appeared was in 5.34:
https://root.cern.ch/root/html534/THistPainter.html#HP09

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.