3D bar plots can be created easily in Matlab using the
bar3 function. The bar columns in the plot are colored based on the row and column they belong to. It might sometimes be more useful to see the color of the bar column be based on the value (or z or height) of that bar column.
One way to do this is to use the
bar3c function written by Gunther Struyf. Download his
bar3c.m file from here, place it in the Matlab directory you are working from and call the function passing it the data.
Tried with: Matlab 126.96.36.1994 (R2013a)