how do I change linewidth of line of best fit and of the confidence limits, when using 'predobs'
3 次查看(过去 30 天)
显示 更早的评论
how do I change linewidth of line of best fit and of the confidence limits, when using 'predobs' See code below plot(cfTestBEFORENoOutliers,'r-',XTestBEFORE,YTestBEFORE,'o',outliersTestBEFORE,'r*','predobs'), hold on
1 个评论
Satyajeet Sasmal
2015-11-19
You could use a handle to the plot function.
h = plot(cfTestBEFORENoOutliers,'r-',XTestBEFORE,YTestBEFORE,'o',outliersTestBEFORE,'r*','predobs');
h.LineWidth = 8;
回答(2 个)
William Truong
2019-5-28
编辑:William Truong
2019-5-28
Use:
h = plot(cfTestBEFORENoOutliers,'r-',XTestBEFORE,YTestBEFORE,'o',outliersTestBEFORE,'r*','predobs');
set(h,'LineWidth',8)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!