Plot Line Style Error Message

2 vues (au cours des 30 derniers jours)
alpedhuez
alpedhuez le 27 Avr 2020
Commenté : alpedhuez le 27 Avr 2020
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.

Réponse acceptée

Adam Danz
Adam Danz le 27 Avr 2020
Modifié(e) : Adam Danz le 27 Avr 2020
Option 1
plot(x,y,'b--')
option 2
plot(x,y,'--','color','blue') % or 'b', or [0 0 1]
  1 commentaire
alpedhuez
alpedhuez le 27 Avr 2020
Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by