diff scripts/image/colormap.m @ 3458:d25bc039237b

[project @ 2000-01-19 09:36:14 by jwe]
author jwe
date Wed, 19 Jan 2000 09:36:28 +0000
parents e031284eea27
children 322453495d75
line wrap: on
line diff
--- a/scripts/image/colormap.m
+++ b/scripts/image/colormap.m
@@ -63,10 +63,10 @@
 
     if (! isempty (map))
       if (columns (map) != 3)
-        error ("colormap: map must have 3 columns: [R,G,B].");
+        error ("colormap: map must have 3 columns: [R,G,B]");
       endif
       if (min (min (map)) < 0 || max (max (map)) > 1)
-        error ("colormap: map must have values in [0,1].");
+        error ("colormap: map must have values in [0,1]");
       endif
       ## Set the new color map
       __current_color_map__ = map;