Line thickness 'invalid data argument' error
조회 수: 6 (최근 30일)
이전 댓글 표시
Can anyone tell me why im getting an "invalid data argument" error when trying to change the line thickness. The commented out line works fine.
%plot(x,f,'r',x,fh,'b')
plot(x,f,'r','LineWidth',3,x,fh,'b','LineWidth',1)
legend('f','fh','Location','best')
댓글 수: 0
답변 (1개)
madhan ravi
2019년 1월 26일
plot(x,f,'r','LineWidth',3)
hold on
plot(x,fh,'b','LineWidth',1)
댓글 수: 2
madhan ravi
2019년 1월 27일
That's why reading documentation is encouraged therefore no guessing is needed
참고 항목
카테고리
Help Center 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!