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 (2019). 3D Bar Plot with Error Bars (https://www.mathworks.com/matlabcentral/fileexchange/33225-3d-bar-plot-with-error-bars), MATLAB Central File Exchange. Retrieved .
had an error again, sorry, heres the update
had some errors in the code before, they are fixed now.