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()
why plot line style not change?
3 次查看(过去 30 天)
显示 更早的评论
plot(x,y,'r--*') but not change ,i want to line both -- *
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!