Line thickness 'invalid data argument' error
이전 댓글 표시
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')
답변 (1개)
madhan ravi
2019년 1월 26일
plot(x,f,'r','LineWidth',3)
hold on
plot(x,fh,'b','LineWidth',1)
댓글 수: 2
Calvin Williams
2019년 1월 26일
madhan ravi
2019년 1월 27일
That's why reading documentation is encouraged therefore no guessing is needed
카테고리
도움말 센터 및 File Exchange에서 Variables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!