Line thickness 'invalid data argument' error

조회 수: 6 (최근 30일)
Calvin Williams
Calvin Williams 2019년 1월 26일
댓글: madhan ravi 2019년 1월 27일
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
madhan ravi 2019년 1월 26일
plot(x,f,'r','LineWidth',3)
hold on
plot(x,fh,'b','LineWidth',1)
  댓글 수: 2
Calvin Williams
Calvin Williams 2019년 1월 26일
Thank you!
madhan ravi
madhan ravi 2019년 1월 27일
That's why reading documentation is encouraged therefore no guessing is needed

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Dynamic System Models에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by