Mercurial > octave-nkf
comparison scripts/image/colormap.m @ 7108:60a1165732f9
[project @ 2007-11-06 22:05:18 by jwe]
author | jwe |
---|---|
date | Tue, 06 Nov 2007 22:06:27 +0000 |
parents | a1dbe9d80eee |
children | 5dd06f19e9be |
comparison
equal
deleted
inserted
replaced
7107:22397f0fb0b2 | 7108:60a1165732f9 |
---|---|
68 endif | 68 endif |
69 | 69 |
70 endif | 70 endif |
71 | 71 |
72 ## Return current color map. | 72 ## Return current color map. |
73 if (nargout > 0) | 73 if (nargout > 0 || (nargout == 0 && nargin == 0)) |
74 cmap = get (gcf (), "colormap"); | 74 cmap = get (gcf (), "colormap"); |
75 endif | 75 endif |
76 | 76 |
77 endfunction | 77 endfunction |