Plotting multiple ecdf in one plot with specific line color and width
Ältere Kommentare anzeigen
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.
figure
hold on
lgd = 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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Exploration and Visualization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!