I am having trouble writing a script that will show shades of green and blue. A colormap needs to be created that has 30 colors (10 blue, 10 aqua, 10 green). In the image the blues will be in the first row, aquas in the second, and green in the third. I am using Matlab and I shouldn't use loops.
colors = [0.2 0.1 0.5; 0.1 .5 0.8; 0.2 0.7 0.6; 0.8 0.7 0.3; 0.9 1 0];
colormap(winter)
vec = 1:length(colors);
image(vec)