how to use Linewidth code?
Mostrar comentarios más antiguos
plot(sample,v1,"ro-","LineWidht",4)
This plot is showing error.plz tell me the reason for error?
4 comentarios
Star Strider
el 11 de Mayo de 2020
Editada: Star Strider
el 11 de Mayo de 2020
That (and the previous example you posted) both run for me without error (R2020a).
What is the error? Please copy all the red text from your Command Window to an edited version of your Question.
What version/release of MATLAB are you using?
HARPREET KAUR
el 11 de Mayo de 2020
HARPREET KAUR
el 11 de Mayo de 2020
Star Strider
el 11 de Mayo de 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’ ?
Respuestas (1)
Ameer Hamza
el 11 de Mayo de 2020
Editada: Ameer Hamza
el 11 de Mayo de 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 comentarios
Star Strider
el 11 de Mayo de 2020
The previous example had no spelling errors and apparently still threw an error.
HARPREET KAUR
el 11 de Mayo de 2020
Ameer Hamza
el 11 de Mayo de 2020
HARPREET, was it the problem of spellings? If yes, then maybe in your other question, you "incorrectly" wrote the correct spellings xD
HARPREET KAUR
el 11 de Mayo de 2020
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!