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

3 Ansichten (letzte 30 Tage)
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 Kommentar
Satyajeet Sasmal
Satyajeet Sasmal am 19 Nov. 2015
You could use a handle to the plot function.
h = plot(cfTestBEFORENoOutliers,'r-',XTestBEFORE,YTestBEFORE,'o',outliersTestBEFORE,'r*','predobs');
h.LineWidth = 8;

Melden Sie sich an, um zu kommentieren.

Antworten (2)

William Truong
William Truong am 28 Mai 2019
Bearbeitet: William Truong am 28 Mai 2019
Use:
h = plot(cfTestBEFORENoOutliers,'r-',XTestBEFORE,YTestBEFORE,'o',outliersTestBEFORE,'r*','predobs');
set(h,'LineWidth',8)

Cagatay Demirci
Cagatay Demirci am 12 Okt. 2016
doesn't work!

Kategorien

Mehr zu Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by