1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
function ret = ltfat_nicecolormap()
%-*- texinfo -*-
%@deftypefn {Function} ltfat_nicecolormap
%@verbatim
% LTFAT_NICECOLORMAP Creates a nice colormap
%
% The function returns 64 x 3 matrix representing
% RGB values of a colormap.
%
%@end verbatim
%@strong{Url}: @url{http://ltfat.github.io/doc/thirdparty/misc/ltfat_nicecolormap.html}
%@end deftypefn
% Copyright (C) 2005-2016 Peter L. Soendergaard <peter@sonderport.dk>.
% This file is part of LTFAT version 2.3.1
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%AUTHOR: Peret Balazs
ret = ...
[ 0 0 0.2000
0 0 0.2076
0 0 0.2152
0 0 0.2229
0 0 0.2305
0 0 0.2381
0 0 0.2457
0 0 0.2533
0 0 0.3778
0 0 0.5022
0 0 0.6267
0 0 0.7511
0 0 0.8756
0 0 1.0000
0 0.0857 0.9143
0 0.1714 0.8286
0 0.2571 0.7429
0 0.3429 0.6571
0 0.4286 0.5714
0 0.5143 0.4857
0 0.6000 0.4000
0.0909 0.6364 0.3636
0.1818 0.6727 0.3273
0.2727 0.7091 0.2909
0.3636 0.7455 0.2545
0.4545 0.7818 0.2182
0.5455 0.8182 0.1818
0.6364 0.8545 0.1455
0.7273 0.8909 0.1091
0.8182 0.9273 0.0727
0.9091 0.9636 0.0364
1.0000 1.0000 0
1.0000 0.8750 0
1.0000 0.7500 0
1.0000 0.6250 0
1.0000 0.5000 0
1.0000 0.3750 0
1.0000 0.2500 0
1.0000 0.1250 0
1.0000 0 0
1.0000 0.0196 0.0196
1.0000 0.0392 0.0392
1.0000 0.0588 0.0588
1.0000 0.0784 0.0784
1.0000 0.1936 0.1936
1.0000 0.3088 0.3088
1.0000 0.4240 0.4240
1.0000 0.5392 0.5392
1.0000 0.6544 0.6544
1.0000 0.7696 0.7696
1.0000 0.8848 0.8848
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000
1.0000 1.0000 1.0000];
|