What does 'y:' stand for in plot command?
1 次查看(过去 30 天)
显示 更早的评论
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
采纳的回答
Birdman
2018-6-6
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!