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 Center および File Exchange2-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