why plot line style not change?

4 次查看(过去 30 天)
Abu Zar
Abu Zar 2023-3-18
plot(x,y,'r--*') but not change ,i want to line both -- *

回答(1 个)

Walter Roberson
Walter Roberson 2023-3-18
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()

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by