why plot line style not change?
2 views (last 30 days)
Show older comments
Abu Zar on 18 Mar 2023
Answered: Walter Roberson on 18 Mar 2023
plot(x,y,'r--*') but not change ,i want to line both -- *
Walter Roberson on 18 Mar 2023
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()
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!