I have some color matrices like below and originally, there is only one color matrix and it works well.
[66 92 143]/255; %DARKBLUE
[21 59 99]/255; %BLACK
[0 0 0]; %Pure black
tempPoint.set('mark_color',{[21 59 99]/255});
I have tried to put these color matrices into a vector.So I can use it in a loop like this:
farbe=[[21 59 99]/255 [0 0 0] [66 92 143]/255];
for i=1:length(farbe)
tempPoint.set('mark_color',{farbe(i)});
end
But unfortunately it doesn't work and it gives an "Color value must be a 3 element numeric vector" error
I tried to find a solution to my problem at this topic but couldn't make it work for mine:
How can I put these matrices into a vector and use its every element in a loop ?
Any help will be appreciated.