Mercurial > octave-antonio
diff scripts/image/prism.m @ 15720:1a800034d443
Colormap error() calls now report the input variable which is a problem.
* autumn.m, bone.m, colorcube.m, cool.m, copper.m, flag.m, gmap40.m, gray.m,
hot.m, hsv.m, jet.m, lines.m, ocean.m, pink.m, prism.m, rainbow.m, spring.m,
summer.m, white.m, winter.m: Colormap error() calls now report the input
variable which is a problem.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 03 Dec 2012 09:38:58 -0800 |
parents | 5f1d4def40e1 |
children | d63878346099 |
line wrap: on
line diff
--- a/scripts/image/prism.m Mon Dec 03 08:37:38 2012 -0800 +++ b/scripts/image/prism.m Mon Dec 03 09:38:58 2012 -0800 @@ -37,7 +37,7 @@ n = rows (colormap); elseif (nargin == 1) if (! isscalar (n)) - error ("prism: argument must be a scalar"); + error ("prism: N must be a scalar"); endif else print_usage ();