why is it happen?

回答(1 个)

madhan ravi
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 个评论

I used different markers,but when i reduce step give me different with curves not smooth
as attach
Nothing can be done with the screenshot upload your code

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by