3dbar chart of columns of data

1 次查看(过去 30 天)
Benjamin Cowen
Benjamin Cowen 2016-12-16
评论: Star Strider 2016-12-16
I have my x values stored under x, which is a single column with 400 rows.
Then my y is 6 columns of 400 rows
How can I get 6 bars corresponding to each row, but 3d style so they do not overlap one another?

回答(1 个)

Star Strider
Star Strider 2016-12-16
Use the bar3 function.
  5 个评论
Benjamin Cowen
Benjamin Cowen 2016-12-16
i attached matlab figure, hopefully you can see what I am talking about
Star Strider
Star Strider 2016-12-16
Try adding these lines after you plot the figure:
axis square
view([135 20])
Experiment with the view arguments to get the result you want.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by