How can I do grouping in 3-D bar?

1 次查看(过去 30 天)
may
may 2013-10-18
评论: may 2013-10-20
I have this data Z = rand(9,5);
I can group my data on the Y axis using the following code:
Y = [1 2 3 5 6 7 9 10 11];
bar3(Y,Z)
Now I want to group my data on the X axis , how can I do this? Thanks a lot!

回答(1 个)

Image Analyst
Image Analyst 2013-10-19
Did you try bar3(Z, Y)?
  3 个评论
Image Analyst
Image Analyst 2013-10-19
Well what is Z - you never told us. Do you have a simple script you can attach?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Discrete Data Plots 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by