octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a small fix for hist.m


From: Ben Abbott
Subject: Re: a small fix for hist.m
Date: Tue, 30 Nov 2010 21:19:15 -0500

On Nov 30, 2010, at 7:35 PM, Doug Stewart wrote:

> I am now retired from teaching, and am going to spend some time
> improving the help section of some M files.
> 
> I am learning as I go so please go easy on me :-)
> 
> 
> I have got hg working.
> I have got the tip and made a change to hist.m
> I have attached the diff file.
> 
> I am also suppose to create one more document about the changes.
> Can someone show me how to do this last part
> 
> Doug Stewart
> 
> PS. This is just a small fix for me to learn on.
> <hist.diff>


I see one minor format mistake. The output and equals sign should be enclosed 
in the curly brackets.

Forgive the micro-management, but I assume you'll be adding the various modes 
of operation as well. Perhaps something like ...

## @deftypefn {Function File} {} hist (@var{y})
## @deftypefnx {Function File} {} hist (@var{y}, @var{x})
## @deftypefnx {Function File} {} hist (@var{y}, @var{nbins})
## @deftypefnx {Function File} {} hist (@var{y}, @var{x}, @var{norm})
## @deftypefnx {Function File} {[nn, xx] =} hist (@dots{})

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]