Mercurial > octave-nkf
diff scripts/plot/subplot.m @ 4030:22bd65326ec1
[project @ 2002-08-09 18:58:13 by jwe]
author | jwe |
---|---|
date | Fri, 09 Aug 2002 19:00:16 +0000 |
parents | f8dde1807dee |
children | 92be67bc9301 |
line wrap: on
line diff
--- a/scripts/plot/subplot.m Fri Aug 09 07:38:55 2002 +0000 +++ b/scripts/plot/subplot.m Fri Aug 09 19:00:16 2002 +0000 @@ -94,7 +94,7 @@ if (nargin == 1) - if (! (is_scalar (rows) && rows >= 0)) + if (! (isscalar (rows) && rows >= 0)) error ("subplot: input rcn has to be a positive scalar"); endif @@ -105,7 +105,7 @@ tmp = (tmp - columns) / 10; rows = rem (tmp, 10); - elseif (! (is_scalar (columns) && is_scalar (rows) && is_scalar (index))) + elseif (! (isscalar (columns) && isscalar (rows) && isscalar (index))) error ("subplot: columns, rows, and index have to be scalars"); endif