From bug-octave-request at bevo dot che dot wisc dot edu Tue Oct 14 09:51:07 1997 Subject: bug in contour.m From: Lee Culver To: bug-octave at bevo dot che dot wisc dot edu Cc: snh2 at psu dot edu Date: Tue, 14 Oct 1997 10:50:28 -0400 (EDT) John: I had to make the change indicated below in order to get the function contour to work. When the z matrix is square, the original code will work, although the results may be incorrect. I believe that the revised code is what is desired. Thanks, Lee Culver abe {rlc} 325: diff contour.m my_contour.m 27c27 < function contour (z, n, x, y) --- > function my_contour (z, n, x, y) 64c64,65 < zz(:,i+2) = z(k,:)'; --- > %zz(:,i+2) = z(k,:)' > zz(:,i+2) = z(:,k);