I would like to be able to choose the colors for a multiline plot but I can not 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});
colorMATLABplot
colors = {'b','r','g'};T = [0 1 2]';column = [2 3];count = magic(3);SelecY = count(:,column),plot(T,SelecY,'Color',colors{column});
Best Answer