why is it happen?

1 次查看(过去 30 天)
shreen elsapa
shreen elsapa 2018-12-22
评论: madhan ravi 2018-12-22
when i plot figure with 3 or 4 curves, it appears the same line style.

回答(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 个评论
shreen elsapa
shreen elsapa 2018-12-22
I used different markers,but when i reduce step give me different with curves not smooth
as attach
madhan ravi
madhan ravi 2018-12-22
Nothing can be done with the screenshot upload your code

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by