Mercurial > hg > octave-nkf
diff scripts/image/colormap.m @ 3457:e031284eea27
[project @ 2000-01-19 08:49:56 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 08:50:14 +0000 |
parents | f8dde1807dee |
children | d25bc039237b |
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;