How to fix this LineWidth error?
1 次查看(过去 30 天)
显示 更早的评论
For some reason i get an error when trying to increase the width of my plotline. The code is:
fplot(Cpsys,[min(x(:)) max(x(:))],'LineWidth',3)
It gives me the error "Error in color/linetype argument."
For extra info: whos Cpsys gives: Name = Cpsys, Size = 1x1, Bytes = 16, Class = function_handle
I'm using version R2015b.
Any idea how to fix this? i've seen you can change the default settings to avoid problems like this, but i really only want this line to be thicker.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!