How to change the color of plotting lines
조회 수: 939 (최근 30일)
이전 댓글 표시
채택된 답변
Adam Danz
2019년 6월 18일
The line of code that apparently does the plotting is cut off in your image.
Either specify the color during plotting
plot(x,y,'color', 'b');
or set the color later using the output handles
h = plot(x,y);
set(h, 'Color', 'b')
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!