title: error in plotting a 3D matrix as a 3D bar graph
body: <p>Hi I have the 3D matrix <code>daily_renewables_excess</code> which I am trying to plot a 3D bar graph for the x y and z dimensions in axis.
  The size(daily_renewables_excess) is 11,7,10. So I am trying to get a 3D bar chart with 11 x intervals of x, 7 of y and 10 of z.</p>
  
  <p>However when i try</p>
  
  <pre><code>figure;
  bar3(daily_renewables_excess(:,:,:))
  </code></pre>
  
  <p>I get an error saying "Error using bar3 (line 39)
  Inputs must be 2-D."</p>
  
  <p>From my understanding of the documentation, the bar3 function will plot a 3D bar as above.
  Do I need to rearrange the matrices somehow? </p>
  
  <p>thank you </p>