Re: [ROOT] Two new-user questions regarding tutorial h1draw.C

From: Charlie Maguire (charles.f.maguire@vanderbilt.edu)
Date: Fri May 19 2000 - 17:54:39 MEST


Dear Jiri and Rene,

	Thanks for the quick answers.  As a matter of fact,
the h1draw.C tutorial enabled me to learn how to use the higher
level TPaveLabel and TPaveText classes to put text on the
semi-log plots without problem.

	A tip also for other learners regarding the histogram
fitting with user defined functions, as explained in the myfit.C
tutorial.  Some multi-Gaussian fits which I was attempting
looked to be working fine in terms of the chi-squared result,
except that the fit as drawn appeared to be clipped (flat top)
at the peak maximum.  This was simply a drawing artifact resulting
from not having enough drawing points associated with the user
defined function.  The default value of 100 drawing points for
the function object just needs to be increased sufficiently
using the SetNpx method.  Since a couple of other ROOT users
here did not know of this feature, I thought that I would pass it
on.

Regards,
Charlie



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET