give the function two matrices, on matrix with bar peak heights, the other matrix with error bar lengths.
See the commented section in the function code for example code to test it with
based on code from: http://illigal.blogspot.com/2005/01/matlab-script-for-3d-bar-plot-with.html
lee (2021). 3D Bar Plot with Error Bars (https://www.mathworks.com/matlabcentral/fileexchange/33225-3d-bar-plot-with-error-bars), MATLAB Central File Exchange. Retrieved .
Inspired: superbar
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Some part of the code is not necessary (for myself I only used two parameters, rows and cols).
Otherwise, it seems to work well!