MATLAB Answers

How to Plot Horizontal errorbar

28 views (last 30 days)
Sonima
Sonima on 21 Aug 2013
Does anybody knows how can I plot horizontal error bars in MATLAB? I am familiar with the errorbar function, which allows to plot vertical error bars. However, I need to be able to horizontal error bars. There is a herrorbar function for this purpose, but it doesn't work well. Any advice would be appreciated. Thanks!

  0 Comments

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 21 Aug 2013
Then try the line() function to make it manually on your own.

  1 Comment

Image Analyst
Image Analyst on 22 Aug 2013
line([x1 x2], [y1 y2]);

Sign in to comment.


the cyclist
the cyclist on 27 Aug 2013
You could try this submission from the File Exchange:

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!