Line thickness 'invalid data argument' error
Mostra commenti meno recenti
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')
Risposte (1)
madhan ravi
il 26 Gen 2019
plot(x,f,'r','LineWidth',3)
hold on
plot(x,fh,'b','LineWidth',1)
2 Commenti
Calvin Williams
il 26 Gen 2019
madhan ravi
il 27 Gen 2019
That's why reading documentation is encouraged therefore no guessing is needed
Categorie
Scopri di più su Variables in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!