How to change the linewidth of errorbar caps?
Afficher commentaires plus anciens
I am using the function "errorbar" and would like to change the linewidth of the error bars. I am doing this using the following code:
e = errorbar(x,y,err) e.LineWidth = 0.25;
When I do this, the linewidth of the main stem of the errorbars change linewidth, but the lines of the caps are remaining the same width. I have also tried changing "CapSize", but this changes the width of the caps and not the LINEwidth of the caps.
This seems to have become a problem for me recently in a new download of Matlab 2017a. I am running this using macOS.
Any help would be appreciated! Thanks!
3 commentaires
Jayesh Khatri
le 22 Nov 2018
Same issue. Suggestions anyone?
Kimberly Stevens
le 7 Déc 2018
I'm also having the same obnoxious problem. I'd love to hear any ideas. It seems to be a problem in 2018 too.
Julien
le 10 Mai 2021
check out this post:
https://www.mathworks.com/matlabcentral/answers/399508-errorbar-change-line-width-of-marker-line-not-of-error-bars
Réponses (0)
Catégories
En savoir plus sur Errorbars dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!