diff scripts/image/imagesc.m @ 904:3470f1e25a79

[project @ 1994-11-09 21:22:15 by jwe]
author jwe
date Wed, 09 Nov 1994 21:22:15 +0000
parents 4e826edfbc56
children 56520a75b5b3
line wrap: on
line diff
--- a/scripts/image/imagesc.m	Wed Nov 09 20:02:47 1994 +0000
+++ b/scripts/image/imagesc.m	Wed Nov 09 21:22:15 1994 +0000
@@ -1,27 +1,22 @@
 function x = imagesc(x, zoom)
-#Scale and display a matrix as an image.
-#
-#imagesc(x) displays a scaled version of the matrix x.  The matrix is
-#scaled so that its entries are indices into the current colormap.
-#The scaled matrix is returned.
-#
-#imagesc(x,zoom) sets the magnification, the default value is 4.
-#
-#SEE ALSO: image, imshow
 
-#Author:
-# Tony Richardson
-# amr@mpl.ucsd.edu
-# July 1994
+# Scale and display a matrix as an image.
+#
+# imagesc(x) displays a scaled version of the matrix x.  The matrix is
+# scaled so that its entries are indices into the current colormap.
+# The scaled matrix is returned.
 #
-#Modified:
-# Tony Richardson
-# amr@mpl.ucsd.edu
-# July 1994
-# (Modifications based on suggestions from John Eaton.)
+# imagesc(x,zoom) sets the magnification, the default value is 4.
+#
+# SEE ALSO: image, imshow
+
+# Author:
+#  Tony Richardson
+#  amr@mpl.ucsd.edu
+#  July 1994
 
   if (nargin < 1 || nargin > 2)
-    error("usage: image (matrix, [zoom])");
+    usage ("image (matrix, [zoom])");
   endif
 
   if (nargin == 1)