why is it happen?
1 次查看(过去 30 天)
显示 更早的评论
when i plot figure with 3 or 4 curves, it appears the same line style.
0 个评论
回答(1 个)
madhan ravi
2018-12-22
编辑:madhan ravi
2018-12-22
"why is it happen?"
Obviously you have used the same linestyle inside the loop use the below way to distinguish:
c={'-*m','-^k','-or','-sq'} % use different markers to distinguish
plot(..,c{i}) % inside loop
^^^^-should be in the place of line style
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!