What does 'y:' stand for in plot command?
조회 수: 2 (최근 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!