function map4 = gen_map4()


index_range = -1:0.01:1;
size_i = size(index_range)
c_map4 = zeros(size_i(2),3);
for i = 1:size_i(2)
	ind_i = index_range(i);
	if ind_i<=-0.8
		c_map4(i,1) = 13;
		c_map4(i,2) = 13;
		c_map4(i,3) = 13;
	elseif ind_i>-0.8 && ind_i <= -0.6
		c_map4(i,1) = 191;
                c_map4(i,2) = 191;
                c_map4(i,3) = 191;
	elseif ind_i>-0.6 && ind_i <= -0.4
                c_map4(i,1) = 219;
                c_map4(i,2) = 219;
                c_map4(i,3) = 219;
	elseif ind_i>-0.4 && ind_i <= -0.2
                c_map4(i,1) = 235;
                c_map4(i,2) = 235;
                c_map4(i,3) = 235;
	elseif ind_i>0.2 && ind_i <= 0
                c_map4(i,1) = 254;
                c_map4(i,2) = 250;
                c_map4(i,3) = 202;
	elseif ind_i>0 && ind_i <= 0.2
                c_map4(i,1) = 127;
                c_map4(i,2) = 179;
                c_map4(i,3) = 71;
	elseif ind_i>0.2 && ind_i <= 0.4
                c_map4(i,1) = 65;
                c_map4(i,2) = 125;
                c_map4(i,3) = 37;
	elseif ind_i>0.4 && ind_i <= 0.6
                c_map4(i,1) = 34;
                c_map4(i,2) = 96;
                c_map4(i,3) = 19;
	elseif ind_i>0.6 && ind_i <= 0.8
                c_map4(i,1) = 15;
                c_map4(i,2) = 83;
                c_map4(i,3) = 105;
	elseif ind_i>0.8
                c_map4(i,1) = 2;
                c_map4(i,2) = 69;
                c_map4(i,3) = 0;
	else
		c_map4(i,1) = 254;
                c_map4(i,2) = 250;
                c_map4(i,3) = 202;
	end
end
map4 = c_map4/255;

end
