Mercurial > octave-nkf
diff scripts/plot/draw/fill.m @ 19628:fe689210525c gui-release
maint: Periodic merge of stable to gui-release.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:05:42 -0500 |
parents | b4b5ee91561a 446c46af4b42 |
children | 0e1f5a750d00 |
line wrap: on
line diff
--- a/scripts/plot/draw/fill.m Mon Jan 19 07:04:12 2015 +0100 +++ b/scripts/plot/draw/fill.m Tue Jan 20 10:05:42 2015 -0500 @@ -27,7 +27,7 @@ ## The inputs @var{x} and @var{y} are the coordinates of the polygon vertices. ## If the inputs are matrices then the rows represent different vertices and ## each column produces a different polygon. @code{fill} will close any open -## polygons before plotting. +## polygons before plotting. ## ## The input @var{c} determines the color of the polygon. The simplest form ## is a single color specification such as a @code{plot} format or an @@ -76,7 +76,7 @@ if (numel (varargin) > iargs(end) + 2) opts = varargin(iargs(end)+3 : end); endif - + if (! all (cellfun (@(x) iscolorspec (x), varargin(iargs + 2)))) print_usage (); endif @@ -106,7 +106,7 @@ if (fail) print_usage (); endif - + hlist(end+1, 1) = htmp; endfor