Hi I have the 3D matrix daily_renewables_excess 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.
However when i try
figure;
bar3(daily_renewables_excess(:,:,:))
I get an error saying "Error using bar3 (line 39) Inputs must be 2-D."
From my understanding of the documentation, the bar3 function will plot a 3D bar as above. Do I need to rearrange the matrices somehow?
thank you


