How can I do grouping in 3-D bar?

2 views (last 30 days)
may
may on 18 Oct 2013
Commented: may on 20 Oct 2013
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!

Answers (1)

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

Sign in to comment.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!