diff scripts/image/imshow.m @ 7931:de26beacb20f

imread.m: simplify; loadimage.m: deprecate
author John W. Eaton <jwe@octave.org>
date Wed, 16 Jul 2008 12:55:48 -0400
parents 1f6eb3de1c4e
children 40aa36406a94
line wrap: on
line diff
--- a/scripts/image/imshow.m	Wed Jul 16 11:24:48 2008 -0400
+++ b/scripts/image/imshow.m	Wed Jul 16 12:55:48 2008 -0400
@@ -65,7 +65,7 @@
   ## Get the image.
   if (ischar (im))
     ## Eventually, this should be imread.
-    [im, map] = loadimage (im);
+    [im, map] = imread (im);
     indexed = true;
     colormap (map);
   endif