diff options
Diffstat (limited to 'gnuradio-core/src/utils/cool.m')
-rw-r--r-- | gnuradio-core/src/utils/cool.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/utils/cool.m b/gnuradio-core/src/utils/cool.m index e996a3a9f..f8b8a5cea 100644 --- a/gnuradio-core/src/utils/cool.m +++ b/gnuradio-core/src/utils/cool.m @@ -16,7 +16,7 @@ %% -*- texinfo -*- %% @deftypefn {Function File} {} cool (@var{n}) -%% Create color colormap. +%% Create color colormap. %% (cyan to magenta) %% The argument @var{n} should be a scalar. If it %% is omitted, the length of the current colormap or 64 is assumed. @@ -38,7 +38,7 @@ function map = cool (number) end if (number == 1) - map = [0, 1, 1]; + map = [0, 1, 1]; elseif (number > 1) r = (0:number - 1)' ./ (number - 1); g = 1 - r; |