Re: print bin content with errors for TH2

From: Akira OKUMURA <oxon_at_juno.phys.s.u-tokyo.ac.jp>
Date: Fri, 13 Nov 2009 01:43:47 +0900


Hello Christian,

Draw("TEXT E") will work.

Regards,

OKUMURA, Akira oxon_at_juno.phys.s.u-tokyo.ac.jp Department of Physics, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033
TEL/FAX +81 3-5841-4173/4059
Skype : okumura.akira

On 2009/11/12, at 20:45, Christian Göringer wrote:

> 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 - 17:43:53 CET

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