# HG changeset patch # User John W. Eaton # Date 1203586227 18000 # Node ID f028e7aa77a7314b84dbf515a2d4cd6439751c4d # Parent f3e6ada67d9e329a691a3c57ed5e493d0fc685fc imshow.m: use axis ("image") diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,8 @@ 2008-02-21 John W. Eaton + * image/imshow.m: Call axis ("image"). + From Michael G. Ross . + * plot/errorbar.m: If nargout > 0, return vector of handles to line objects. * plot/__go_draw_axes__.m: Improve handling of line style for diff --git a/scripts/image/imshow.m b/scripts/image/imshow.m --- a/scripts/image/imshow.m +++ b/scripts/image/imshow.m @@ -166,6 +166,7 @@ tmp = image (round ((rows (colormap ()) - 1) * im)); endif set (gca (), "visible", "off"); + axis ("image"); if (nargout > 0) h = tmp;