I would like to be able to choose colors for a multi-line plot, but I cannot get it. This is my code.
colors = {'b','r','g'}; T = [0 1 2]'; column = [2 3]; count = magic(3); SelecY = count(:,column), plot(T,SelecY,'Color',colors{column});
source share