How can I create horizontal error bars in MATLAB?

조회 수: 18 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
편집: MathWorks Support Team 2023년 4월 19일
The "errorbar" function can only create error bars in the vertical direction, but I would like to create horizontal ones.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 4월 14일
편집: MathWorks Support Team 2023년 4월 19일
The ability to create horizontal error bars was added in MATLAB R2016b. You can specify the "ornt" (orientation) property of the plot to be "horizontal" to generate horizontal error bars. 
For release R2016a or older
The ability to create horizontal error bars is not available in previous releases. As a workaround, you can download the user-contributed "herrorbar" function from the MATLAB Central File Exchange. You can find this file at the following URL:
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Errorbars에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by