why is it happen?

2 views (last 30 days)
shreen elsapa
shreen elsapa on 22 Dec 2018
Commented: madhan ravi on 22 Dec 2018
when i plot figure with 3 or 4 curves, it appears the same line style.

Answers (1)

madhan ravi
madhan ravi on 22 Dec 2018
Edited: madhan ravi on 22 Dec 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 Comments
shreen elsapa
shreen elsapa on 22 Dec 2018
I used different markers,but when i reduce step give me different with curves not smooth
as attach
madhan ravi
madhan ravi on 22 Dec 2018
Nothing can be done with the screenshot upload your code

Sign in to comment.

Categories

Find more on Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!