MATLAB: Plot 3 distinct parameters in 3D

3dhistogram

Hello,
I have three distinct vectors of same length: X,Y,Z I would like to create a 3D plot similar to a histogram but the height of the bar (the vertical axis) would be a specific value (Z) and the two horizontal axis would be X and Y.
Thank you

Best Answer

Try bar3():
bar3(x, y, z);
Related Question