why plot line style not change?

3 views (last 30 days)
Abu Zar
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 -- *

Answers (1)

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

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!