Re: Specifying multiple colors on line' command



thanks I already found it using 'colororder ' property

--Robin

us wrote:


Robin C:
<SNIP down to small typo...

one of the solutions

b=zeros(3,5);
b(:,1)=1:3;
b(:,2:5)=reshape([1:12],3,4);
% line(b(:,1),b(:2:5));
line(b(:,1),b(:,2:5));

us
.