diff scripts/image/colormap.m @ 2311:2b5788792cad

[project @ 1996-07-11 20:18:38 by jwe]
author jwe
date Thu, 11 Jul 1996 20:18:38 +0000
parents 5cffc4b8de57
children 204cc7db6f4a
line wrap: on
line diff
--- a/scripts/image/colormap.m	Thu Jul 11 20:02:03 1996 +0000
+++ b/scripts/image/colormap.m	Thu Jul 11 20:18:38 1996 +0000
@@ -17,19 +17,19 @@
 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 ### 02111-1307, USA.
 
-function cmap = colormap (map)
+## Set the current colormap.
+## 
+## colormap (map) sets the current colormap to map.  map should be an n
+## row by 3 column matrix. The columns contain red, green, and blue
+## intensities respectively.  All entries should be between 0 and 1
+## inclusive. The new colormap is returned.
+## 
+## colormap ("default") restores the default colormap (a gray scale
+## colormap with 64 entries). The default colormap is returned.
+## 
+## colormap with no arguments returns the current colormap.
 
-  ## Set the current colormap.
-  ## 
-  ## colormap (map) sets the current colormap to map.  map should be an n
-  ## row by 3 column matrix. The columns contain red, green, and blue
-  ## intensities respectively.  All entries should be between 0 and 1
-  ## inclusive. The new colormap is returned.
-  ## 
-  ## colormap ("default") restores the default colormap (a gray scale
-  ## colormap with 64 entries). The default colormap is returned.
-  ## 
-  ## colormap with no arguments returns the current colormap.
+function cmap = colormap (map)
 
   ## Written by Tony Richardson (amr@mpl.ucsd.edu) July 1994.