I'm plotting ecdf for a matrix where I want to chose the line color and type per column. I have this code but not sure how to change the color with the code.
figurehold onlgd = cell(size(NPV_Mat,2),1) ; for ki = 1:size(NPV_Mat,2) ecdf(NPV_Mat(:,ki)); lgd{ki} = strcat('Field=',num2str(ffield(ki))) ; end
These are the color type as below:
color = ('b--o', 'c*', '-o', '*','--',':', '-','-.')
Any help please
Best Answer