Why is this code giving me an error?
이전 댓글 표시
Error using plot
Error in color/linetype argument.
Error in garcia (line 65)
figure(2);hold off;plot(x_plot,m_plot,'1');hold on;
채택된 답변
추가 답변 (1개)
Image Analyst
2015년 12월 24일
0 개 추천
What is the '1', '2', and '3' for? It needs to be a color, a marker, and a line style, like 'bo-' or 'rd:'. If you want a legend, use legend(). If you want text up there at some specific place, use text().
카테고리
도움말 센터 및 File Exchange에서 Octave에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!