adding a legend in 3 for loops with three plots

1 次查看(过去 30 天)
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 个评论
mazari ahmed
mazari ahmed 2015-8-12
编辑:mazari ahmed 2015-8-12
no just three lineseries for each : line 1 for loop 1 line 2 for loop 2 line 3 for loop 3

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by