adding a legend in 3 for loops with three plots
이전 댓글 표시
l want to make a legend for my figure but l have 3 for loops with three plots like mentioned below : legend 1 : essential legend 2 : less essential legend 3 : most important
for P=1:K
% body
plot(.....,'bo');
end
for Z=N:T
%body
plot(....,'ro'):
end
for i=1:L
%body
plot(....,'ko'):
end
how can l manage my legend ? thank you
댓글 수: 3
Walter Roberson
2015년 8월 12일
You appear to be creating K + (T-N+1) + L lineseries objects (at least). Which 3 of those lines do you want your legends to be attached to?
mazari ahmed
2015년 8월 12일
편집: mazari ahmed
2015년 8월 12일
mazari ahmed
2015년 8월 12일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
