how do I change linewidth of line of best fit and of the confidence limits, when using 'predobs'

조회 수: 4 (최근 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
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
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)

Cagatay Demirci
Cagatay Demirci 2016년 10월 12일
doesn't work!

카테고리

Help CenterFile Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by