Mercurial > octave-nkf
diff scripts/plot/stairs.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 | c08cb1098afc |
line wrap: on
line diff
--- a/scripts/plot/stairs.m Fri Aug 09 07:38:55 2002 +0000 +++ b/scripts/plot/stairs.m Fri Aug 09 19:00:16 2002 +0000 @@ -51,7 +51,7 @@ if (nargin == 1) - if (is_vector (x)) + if (isvector (x)) len = 2 * length (x); tmp_xs = tmp_ys = zeros (len, 1); k = 0; @@ -65,7 +65,7 @@ error ("stairs: argument must be a vector"); endif elseif (nargin == 2) - if (is_vector (x) && is_vector (y)) + if (isvector (x) && isvector (y)) xlen = length (x); ylen = length (y); if (xlen == ylen)