Introduction - If you have any usage issues, please Google them yourself
Matlab 3-D graphics to draw a few examples of very detailed and very comprehensive introduction to drawing 3-D graphics functions, the last one is the histogram drawing, horizontal and vertical are examples.