why is it happen?
1 view (last 30 days)
Show older comments
when i plot figure with 3 or 4 curves, it appears the same line style.
0 Comments
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
See Also
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!