why plot line style not change?

3 vues (au cours des 30 derniers jours)
Abu Zar
Abu Zar le 18 Mar 2023
plot(x,y,'r--*') but not change ,i want to line both -- *

Réponses (1)

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

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by