print bin content with errors for TH2

From: Christian Göringer <christian.goeringer_at_cern.ch>
Date: Thu, 12 Nov 2009 12:45:41 +0100


Dear ROOT-users,

I like to draw a TH2D and display in each bin the bin content with its error, e.g. 10. +/- 1. With the draw option "TEXT" the bin content is drawn the way I need it. Via gStyle->SetPaintTextFormat( "4.0f" ) one can influence the format of the text but I haven't found a way to switch on the display of errors there.

Does anybody have an advice how to display both bin content and error in a TH2?

Thanks in advance,
Christian Received on Thu Nov 12 2009 - 12:45:47 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 12 2009 - 17:50:04 CET