Mercurial > hg > octave-lojdl
diff scripts/plot/findobj.m @ 8506:bc982528de11
comment style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 13 Jan 2009 11:56:00 -0500 |
parents | 1c213dff76fc |
children | cadc73247d65 |
line wrap: on
line diff
--- a/scripts/plot/findobj.m +++ b/scripts/plot/findobj.m @@ -139,7 +139,8 @@ else error ("findobj: inconsistent number of arguments"); endif - elseif (! strcmp (args{na}(1), "-")) # parameter/value pairs + elseif (! strcmp (args{na}(1), "-")) + ## Parameter/value pairs. if (na + 1 <= numel (args)) pname{np} = args{na}; na = na + 1; @@ -171,7 +172,7 @@ error ("findobj: inconsistent number of arguments"); endif else - ## this is sloppy ... but works like matlab + ## This is sloppy ... but works like Matlab. if strcmpi(args{na}, "-not") h = []; return @@ -185,7 +186,7 @@ numpairs = np - 1; - ## load all objects which qualify for being searched + ## Load all objects which qualify for being searched. idepth = 0; h = handles; while (numel (handles) && ! (idepth >= depth))