octave-maintainers
[Top][All Lists]
Advanced

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

Re: Patch proposal for axes.m


From: John W. Eaton
Subject: Re: Patch proposal for axes.m
Date: Fri, 31 Aug 2007 13:57:41 -0400

On 30-Aug-2007, Michael Goffioul wrote:

| Thanks. I commited it to CVS (of octave-forge).
| 
| Michael.
| 
| 
| On 8/30/07, David Bateman <address@hidden> wrote:
| > Hey this is an easy one as there are no equations or examples.. Try the
| > string
| >
| > ## -*- texinfo -*-
| > ## @deftypefn {Function File} address@hidden =} ancestor (@var{h},
| > @var{type})
| > ## @deftypefnx {Function File} address@hidden =} ancestor (@var{h},
| > @var{type}, 'toplevel')
| > ## Returns the first ancestor of handle object @var{h} whose type matches
| > ## @var{type}, where @var{type} is a character string. If @var{type} is a
| > ## cell array of strings, the first parent whose type matches any of the
| > ## given type strings is returned.
| > ##
| > ## If the handle object @var{h} is of type @var{type}, @var{h} is returned.
| > ##
| > ## If 'toplevel' is given as a 3rd argument, @code{ancestor} returns the
| > ## highest parent in the object hierarchy that matches the condition,
| > instead
| > ## of the first (nearest) one.
| > ## @seealso{get, set}
| > ## @end deftypefn

I moved the ancestor.m function to Octave and applied the other part
of the patch to axes.m.

Thanks,

jwe


reply via email to

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