diff scripts/image/imshow.m @ 7511:f028e7aa77a7

imshow.m: use axis ("image")
author John W. Eaton <jwe@octave.org>
date Thu, 21 Feb 2008 04:30:27 -0500
parents 3ed85de5922c
children 1f6eb3de1c4e 72830070a17b
line wrap: on
line diff
--- a/scripts/image/imshow.m	Thu Feb 21 03:58:57 2008 -0500
+++ b/scripts/image/imshow.m	Thu Feb 21 04:30:27 2008 -0500
@@ -166,6 +166,7 @@
     tmp = image (round ((rows (colormap ()) - 1) * im));
   endif
   set (gca (), "visible", "off");
+  axis ("image");
 
   if (nargout > 0)
     h = tmp;