Mercurial > octave
changeset 23931:b208e1a7dd02
imshow.m: fix colormap related demos (bug #51825)
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Wed, 23 Aug 2017 15:56:06 +0200 |
parents | 174b6afa7e7f |
children | ab5780d54869 |
files | scripts/image/imshow.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/image/imshow.m Wed Aug 23 10:29:16 2017 +0200 +++ b/scripts/image/imshow.m Wed Aug 23 15:56:06 2017 +0200 @@ -224,7 +224,7 @@ %!demo %! clf; %! imshow ("default.img"); -%! colormap (autumn (64)); +%! colormap (gca, autumn (64)); %!demo %! clf; @@ -245,7 +245,7 @@ %!demo %! clf; %! imshow (rand (100, 100)); -%! colormap (jet (64)); +%! colormap (gca, jet (64)); %! title ({"imshow with random 100x100 matrix", "colormap() makes color image"}); %!demo