Plot Line Style Error Message

I tried
plot(x,y,'--','blue')
with valid data x and y (that I can plot without these options) and got an error message of "invalid data argument." Please advise.

 Respuesta aceptada

Adam Danz
Adam Danz el 27 de Abr. de 2020
Editada: Adam Danz el 27 de Abr. de 2020

0 votos

Option 1
plot(x,y,'b--')
option 2
plot(x,y,'--','color','blue') % or 'b', or [0 0 1]

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 27 de Abr. de 2020

Comentada:

el 27 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by