% -*- texinfo -*- % @deftypefn {Function File} histfit (@var{data}, @var{nbins}) % % Plot histogram with superimposed fitted normal density. % % @code{histfit (@var{data}, @var{nbins})} plots a histogram of the values in % the vector @var{data} using @var{nbins} bars in the histogram. With one input % argument, @var{nbins} is set to the square root of the number of elements in % data. % % Example % % @example % histfit (randn (100, 1)) % @end example % % @seealso{bar,hist, pareto} % @end deftypefn