What does 'y:' stand for in plot command?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I need to debug a piece of code and I can't understand the 'y:' attribute at the end of the line. Can someone point out what it does?
if true
plot(<a 99X1 matrix>,<a 99x1 matrix>,'y:');
end
Réponse acceptée
Birdman
le 6 Juin 2018
It means a dotted yellow line. For that, you may check the documentation of plot command. That third input argument decides the line style, marker and color:
0 commentaires
Plus de réponses (0)
Voir également
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!