I am plotting a series of curves through an iteration. Once the plotting is done I am unable to fine which curve resulted from which iteration.
Is there a command or procedure to find that out.
any help is appreciated. thnx

답변 (1개)

Mischa Kim
Mischa Kim 2014년 2월 17일
편집: Mischa Kim 2014년 2월 17일

0 개 추천

Roshan, use a legend, which gives you the information right in the plot. As an example:
x = 0:0.1:pi;
lab = [];
hold all
for ii = 1:4
plot(x,rand(1,length(x))+sin(x),'-*')
lab{ii} = strcat('iteration: ',num2str(ii));
end
legend(lab);

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

태그

질문:

2014년 2월 17일

편집:

2014년 2월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by