why plot line style not change?
Show older comments
plot(x,y,'r--*') but not change ,i want to line both -- *Answers (1)
Walter Roberson
on 18 Mar 2023
1 vote
you are plotting only one point at a time. plot() only draws lines when there are at least two adjacent finite coordinates in a single call to plot()
Categories
Find more on Line Plots 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!