how to use Linewidth code?
22 次查看(过去 30 天)
显示 更早的评论
plot(sample,v1,"ro-","LineWidht",4)
This plot is showing error.plz tell me the reason for error?
4 个评论
Star Strider
2020-5-11
Harpreet Kaur — WHAT IS THE ERROR?
I have no idea what you are doing, or what the error is.
What is the ‘comment section’ ?
回答(1 个)
Ameer Hamza
2020-5-11
编辑:Ameer Hamza
2020-5-11
Correct spellings are "LineWidth". Change the line to
plot(sample,v1,"ro-","LineWidth",4)
For versions prior to R2016b
plot(sample,v1,'ro-','LineWidth',4)
4 个评论
Ameer Hamza
2020-5-11
HARPREET, was it the problem of spellings? If yes, then maybe in your other question, you "incorrectly" wrote the correct spellings xD
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!