Clear Filters
Clear Filters

How to add error bars onto 3bar?

26 views (last 30 days)
Reed D. Spitzer
Reed D. Spitzer on 3 Jun 2021
Answered: Vimal Rathod on 7 Jun 2021
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 Comment
Adam Danz
Adam Danz on 3 Jun 2021
Edited: Adam Danz on 3 Jun 2021
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.

Sign in to comment.

Answers (1)

Vimal Rathod
Vimal Rathod on 7 Jun 2021
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!