why legend for multiple matrix is not showing the appropriate data?
1 次查看(过去 30 天)
显示 更早的评论
I have 6 matrix as A=rand(10,10),B=rand(10,10),C=rand(10,10) and a=rand(10,10),b=rand(10,10),c=rand(10,10). i want to plot all elements as plot(a,A,'r*',b,B,'b+',c,C,'go'); i am able to plot this way but while calling legend i am facing problem.
i want legend('a','b','c'); where a will indicate red color *,b as blue + and c as green o.
can it be done please help me...i am getting output as
采纳的回答
Ben11
2014-6-24
When I run your code I get this:
Could you be more precise as to what exactly you want?
6 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!