diff scripts/image/imagesc.m @ 18622:3283ce934648 stable

Set only 'axis tight' for image functions and Matlab compatibility (bug #42043, bug #41886) * image.m: Use 'axis tight' instead of 'axis image' for Matlab compatibility. * imagesc.m: Delete special case of turning off 'axis equal' after call to image().
author Rik <rik@octave.org>
date Fri, 04 Apr 2014 11:40:40 -0700
parents 2f39b386d399
children
line wrap: on
line diff
--- a/scripts/image/imagesc.m	Fri Apr 04 10:48:07 2014 -0400
+++ b/scripts/image/imagesc.m	Fri Apr 04 11:40:40 2014 -0700
@@ -100,8 +100,6 @@
     endif
 
     if (do_new && ! ishold (hax))
-      ## Turn off axis equal which is set by image() call
-      axis ("normal");
       ## use given climits or guess them from the matrix
       if (numel (climits) == 2 && climits(1) <= climits(2))
         set (hax, "clim", climits);