Borrar filtros
Borrar filtros

why plot line style not change?

1 visualización (últimos 30 días)
Abu Zar
Abu Zar el 18 de Mzo. de 2023
Respondida: Walter Roberson el 18 de Mzo. de 2023
plot(x,y,'r--*') but not change ,i want to line both -- *

Respuestas (1)

Walter Roberson
Walter Roberson el 18 de Mzo. de 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()

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by