How can I create horizontal error bars in MATLAB?
17 次查看(过去 30 天)
显示 更早的评论
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Errorbars 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!