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에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by