how to shorten the errorbar capsize in Matlab R2016a?

2 views (last 30 days)
I've tried all the answers to this question but none works on Matlab R2016a. I want to shorten the errorbar capsize like the below picture.

Answers (2)

Steven Lord
Steven Lord on 9 Oct 2016
I don't know if there's an easy way to do this in release R2016b, but as of release R2016b you can do this using the CapSize property of the errorbar object. See the "Control Error Bar Cap Size" example on the errorbar documentation page.

Leo Leo
Leo Leo on 3 Nov 2016
CapSize is not available in release R2010a. What can I do? I face the same problem

Tags

Community Treasure Hunt

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

Start Hunting!