why is it happen?
Show older comments
when i plot figure with 3 or 4 curves, it appears the same line style.
Answers (1)
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
on 22 Dec 2018
madhan ravi
on 22 Dec 2018
Nothing can be done with the screenshot upload your code
Categories
Find more on Interpolation 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!