MATLAB Answers

How to add error bars onto 3bar?

조회 수: 7(최근 30일)
Reed D. Spitzer
Reed D. Spitzer 2021년 6월 3일
답변: Vimal Rathod 2021년 6월 7일
I need to make a 3bar graph with an error bar that is a color different from the rest of the bar with a small band to represent the exact value I got. Also, I would like to know how to change both the depth and width of the bars.
  댓글 수: 1
Adam Danz
Adam Danz 2021년 6월 3일
Do you mean bar3()? Seeing your plot would help but it sounds like a 3D bar plot may not be the best way to visualize the error. Plus, errorbar() is only designed for 2D axes.
You could plot the bar heights as separate 2D lines with errorbars.

댓글을 달려면 로그인하십시오.


Vimal Rathod
Vimal Rathod 2021년 6월 7일
Hope this might be of help to you with plotting errorbars on 3d Bar Plot.





Community Treasure Hunt

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

Start Hunting!

Translated by