From: Paul K. <pki...@us...> - 2005-09-08 03:19:19
|
Update of /cvsroot/octave/octave-forge/main/plot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2532/main/plot Modified Files: __plt3__.m meshc.m quiver.m Log Message: [for Bill Denney] is_vector -> isvector Index: __plt3__.m =================================================================== RCS file: /cvsroot/octave/octave-forge/main/plot/__plt3__.m,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- __plt3__.m 2 May 2005 21:32:02 -0000 1.3 +++ __plt3__.m 8 Sep 2005 03:19:11 -0000 1.4 @@ -27,8 +27,8 @@ function __plt3__ (x, y, z, fmt) - if (is_vector(x) && is_vector(y)) - if (is_vector(z)) + if (isvector(x) && isvector(y)) + if (isvector(z)) x = x(:); y=y(:); z=z(:); elseif (length(x) == rows(z) && length(y) == columns(z)) error("plot3: [length(x), length(y)] must match size(z)"); Index: quiver.m =================================================================== RCS file: /cvsroot/octave/octave-forge/main/plot/quiver.m,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- quiver.m 21 Apr 2005 13:58:43 -0000 1.5 +++ quiver.m 8 Sep 2005 03:19:11 -0000 1.6 @@ -47,7 +47,7 @@ u = x; v = y; x = 1:columns(u); y= 1:rows(u); endif - if is_vector(x) && is_vector(y) && !is_vector(u) + if isvector(x) && isvector(y) && !isvector(u) [nr, nc] = size(u); if (length(x) != nc || length(y) != nr) error ("quiver: x, y vectors must have correct length"); Index: meshc.m =================================================================== RCS file: /cvsroot/octave/octave-forge/main/plot/meshc.m,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- meshc.m 21 Apr 2005 13:58:43 -0000 1.4 +++ meshc.m 8 Sep 2005 03:19:11 -0000 1.5 @@ -59,7 +59,7 @@ error ("meshc: argument must be a matrix"); endif elseif (nargin == 3) - if (is_vector (x) && is_vector (y) && is_matrix (z)) + if (isvector (x) && isvector (y) && is_matrix (z)) xlen = length (x); ylen = length (y); if (xlen == columns (z) && ylen == rows (z)) |