Re: RE: TH1 Documentation confusion Projection X,Y

From: Rene Brun <>
Date: Fri, 24 Jun 2005 18:22:59 +0200 (MEST)


In which file/page do you see this wrong information? see for example

Rene Brun

On Fri, 24 Jun
Donald McCallum wrote:

> Hi,
> I am uncertain about the correct bins to use when doing a projection from a 2-D histogram. The documentation for ProjectionX states that it is a projection from channels along the Y axis onto the X-axis and to use the bins along the Y-axis, i.e. first_ybin, last_ybin. However, for a ProjectionY, for which it is stated that this is a projection from channels along the X-axis onto the Y-axis, it also states that the bins to use are first_ybin and last_ybin. Should this perhaps be first_xbin, last_xbin instead?
> This is a little confusing, and it appears in all documentation regarding projections, i.e. in TH1, TH2, etc. Could you please tell me definitively which axis binning is to be used with which projection, i.e y_bins with ProjectionX and x_bins with ProjectionY, or y_bins with ProjectionY and x_bins with ProjectionX?
Received on Fri Jun 24 2005 - 18:23:04 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET