toolbox/misc/cmap_cluster.m
function CMap = cmap_cluster(nbVals)

% @=============================================================================
% This function is part of the Brainstorm software:
% https://neuroimage.usc.edu/brainstorm
% 
% Copyright (c) University of Southern California & McGill University
% This software is distributed under the terms of the GNU General Public License
% as published by the Free Software Foundation. Further details on the GPLv3
% license can be found at http://www.gnu.org/copyleft/gpl.html.
% 
% FOR RESEARCH PURPOSES ONLY. THE SOFTWARE IS PROVIDED "AS IS," AND THE
% UNIVERSITY OF SOUTHERN CALIFORNIA AND ITS COLLABORATORS DO NOT MAKE ANY
% WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
% MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, NOR DO THEY ASSUME ANY
% LIABILITY OR RESPONSIBILITY FOR THE USE OF THIS SOFTWARE.
%
% For more information type "brainstorm license" at command prompt.
% =============================================================================@
%
% Authors: Francois Tadel, 2015

CMap =[
    0.5569    0.7922    1.0000
    0.5419    0.7747    0.9804
    0.5270    0.7572    0.9608
    0.5121    0.7398    0.9412
    0.4972    0.7223    0.9216
    0.4822    0.7049    0.9020
    0.4673    0.6874    0.8824
    0.4524    0.6700    0.8627
    0.4374    0.6525    0.8431
    0.4225    0.6350    0.8235
    0.4076    0.6176    0.8039
    0.3927    0.6001    0.7843
    0.3777    0.5827    0.7647
    0.3628    0.5652    0.7451
    0.3479    0.5478    0.7255
    0.3330    0.5303    0.7059
    0.3180    0.5128    0.6863
    0.3031    0.4954    0.6667
    0.2882    0.4779    0.6471
    0.2732    0.4605    0.6275
    0.2583    0.4430    0.6078
    0.2434    0.4256    0.5882
    0.2285    0.4081    0.5686
    0.2135    0.3906    0.5490
    0.1986    0.3732    0.5294
    0.1837    0.3557    0.5098
    0.1688    0.3383    0.4902
    0.1538    0.3208    0.4706
    0.1389    0.3034    0.4510
    0.1240    0.2859    0.4314
    0.1090    0.2684    0.4118
    0.0941    0.2510    0.3922
    0.3922         0         0
    0.4118    0.0037    0.0023
    0.4314    0.0073    0.0046
    0.4510    0.0110    0.0068
    0.4706    0.0147    0.0091
    0.4902    0.0183    0.0114
    0.5098    0.0220    0.0137
    0.5294    0.0257    0.0159
    0.5490    0.0293    0.0182
    0.5686    0.0330    0.0205
    0.5882    0.0367    0.0228
    0.6078    0.0404    0.0250
    0.6275    0.0440    0.0273
    0.6471    0.0477    0.0296
    0.6667    0.0514    0.0319
    0.6863    0.0550    0.0342
    0.7059    0.0587    0.0364
    0.7255    0.0624    0.0387
    0.7451    0.0660    0.0410
    0.7647    0.0697    0.0433
    0.7843    0.0734    0.0455
    0.8039    0.0770    0.0478
    0.8235    0.0807    0.0501
    0.8431    0.0844    0.0524
    0.8627    0.0880    0.0546
    0.8824    0.0917    0.0569
    0.9020    0.0954    0.0592
    0.9216    0.0991    0.0615
    0.9412    0.1027    0.0638
    0.9608    0.1064    0.0660
    0.9804    0.1101    0.0683
    1.0000    0.1137    0.0706];
end
     
     
     