1-What might be the problem? 2-What does linewidth property mean? 3-What to do?
[I am using matlab R2016b]
When I want to plot line with color and certain width, I recceive an error:
THE COMMAND
plot(SNR_db,Pd_NSP_cat_mean(:,2),'b','LineWidth',2.5)
THE ERROR:
Error using plot
There is no LineWidth property on the Line class.
Error in PROJECTION_BASED_SHARING (line 76)
plot(SNR_db ,Pd_NSP_cat_mean(:,1),'g','LineWidth ',2.5)
2 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/16477-how-do-i-plot-lines-with-different-line-widths#comment_348787
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/16477-how-do-i-plot-lines-with-different-line-widths#comment_348787
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/16477-how-do-i-plot-lines-with-different-line-widths#comment_382048
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/16477-how-do-i-plot-lines-with-different-line-widths#comment_382048
Sign in to comment.