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

3 vues (au cours des 30 derniers jours)
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 commentaire
Satyajeet Sasmal
Satyajeet Sasmal le 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;

Connectez-vous pour commenter.

Réponses (2)

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

Cagatay Demirci
Cagatay Demirci le 12 Oct 2016
doesn't work!

Catégories

En savoir plus sur Probability Distributions and Hypothesis Tests dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by