how to use Linewidth code?
22 views (last 30 days)
Show older comments
plot(sample,v1,"ro-","LineWidht",4)
This plot is showing error.plz tell me the reason for error?
4 Comments
Star Strider
on 11 May 2020
Harpreet Kaur — WHAT IS THE ERROR?
I have no idea what you are doing, or what the error is.
What is the ‘comment section’ ?
Answers (1)
Ameer Hamza
on 11 May 2020
Edited: Ameer Hamza
on 11 May 2020
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 Comments
Ameer Hamza
on 11 May 2020
HARPREET, was it the problem of spellings? If yes, then maybe in your other question, you "incorrectly" wrote the correct spellings xD
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!