To represent the two 2-D matrices in a single bar graph plot

I do have generated two 2-D dimensional matrices from my core process. Now, I want to represent them via the bar graphs. I could manage to get the 3d bar graph for independant matrix as shown in figures attached. My data matrices are # "xData" - size is : (52 x 46 ) # "yData" - size is : (52 x 46). They'll always have the same size. Now, I want to represent them together in 'Grouped Style' as shown here. I tried to get the 3D dimensional matrix by combining them together (generated 52 x 46 x 2 matrix) and then to plot with bar3 command; but, I got error and couldn't plot. Do you guys have any idea on how to do it ?
<<
>>

回答(1 个)

doc bar3

1 个评论

Hi.. i also had referred this doc before and appended it as a link to my question. Unfortunately, this wasn't enough. Please show up any example if you have.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by