why is it happen?

2 visualizaciones (últimos 30 días)
shreen elsapa
shreen elsapa el 22 de Dic. de 2018
Comentada: madhan ravi el 22 de Dic. de 2018
when i plot figure with 3 or 4 curves, it appears the same line style.

Respuestas (1)

madhan ravi
madhan ravi el 22 de Dic. de 2018
Editada: madhan ravi el 22 de Dic. de 2018
"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 comentarios
shreen elsapa
shreen elsapa el 22 de Dic. de 2018
I used different markers,but when i reduce step give me different with curves not smooth
as attach
madhan ravi
madhan ravi el 22 de Dic. de 2018
Nothing can be done with the screenshot upload your code

Iniciar sesión para comentar.

Categorías

Más información sobre Curve Fitting Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by