Re: Centering bins - Integer Histograms TH1I

From: Dmitry Kotov <dmitriy.kotov_at_gmail.com>
Date: Mon, 1 Feb 2010 01:03:21 +0300


Hi there,

I'm not sure if i understood you properly Stephan, but what stops you from creating your TH1F like this:
*TH1F *h1Algorithm4 = new TH1F("whatever","whatever",6,-0.5,6.5)* ?
You can also try to use non-automatic bining by putting an array of bins that you need into the TH1F. It should look like this:
*TH1F *h1Algorithm4 = new THF("whatever","whatever",x,-0.5,6.5)* where
*x*is an array of your bins...

Hope it helps,
Cheers,
Dmitry Received on Sun Jan 31 2010 - 23:03:44 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 01 2010 - 11:50:01 CET