Hi Rutger, Currently TH1::ProfileX,Y,Z routines do not draw. Adding *MENU* in the definition is not a solution. I agree that if would be nice to have a graphical interface to generate projections/slices, etc. Rene Brun Rutger van der Eijk wrote: > > Hi Rene, > > An 'request for enhancement' concerning these projection/profile > members. It would be nice if a profile or projection of a histogram can > be made 'with the mouse', i.e. by clicking on the histogram and selecting > the profile/project member. This could easily be implemented by adding > // *MENU* in the code. The only problem I see is 'who' becomes the owner > of the newly creared object... What do you think? > > Rutger > > On Wed, 24 Nov 1999, Rene Brun wrote: > > > Hi Rutger, > > Thanks for reporting this inconsistency. I fixed the following > > functions: > > TH1::ProfileX > > TH1::ProfileY > > TH1::ProjectionX > > TH1::ProjectionY > > TH1::ProjectionZ > > > > > > Rene Brun > > > > Rutger van der Eijk wrote: > > > > > > Hi rooters, > > > > > > I'm using TH1::ProfileX on a TH2D to get a profile plot. If I compare this > > > profile plot with the same profile made directly (i.e. at the time > > > entries in TH2D are filled) I see a slight difference in number of > > > entries. > > > > > > I was wondering if this has to do with the under and overflow bins. Are > > > they correctly taken into account? (Do they actually exist for 2D, 3D > > > histograms??) > > > > > > I see in TH1::ProfileX > > > ... > > > if (firstybin < 0) firstybin = 0; > > > if (lastybin > ny) lastybin = ny; > > > ... > > > shouldn't this be: > > > if (firstybin < 0) firstybin = 0; > > > if (lastybin > ny + 1) lastybin = ny + 1; > > > > > > Cheers, > > > > > > Rutger van der Eijk > >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET