MATLAB: Help on a histogram plot!

hist3

Hello! I have a matrix (5×5) which I would like to plot (in 3D) using the hist3, I would like the plot to be a (5×5) grid where the height of each pin reflects the entry value of the matrix at that position , how can I do it ? Thank you !

Best Answer

use bar3,
bar3(matrix)
Related Question