Line thickness 'invalid data argument' error
5 次查看(过去 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!