Rotate X and Y axes with a bar3 plot

조회 수: 6 (최근 30일)
kortas manel
kortas manel 2018년 12월 26일
댓글: Star Strider 2018년 12월 27일
Hello everybody,
I want to know how to rotate X and Y axes with a bar3 plot. Suppose that my data matrix is as follows : A=[3 5 7; 7 3 9; 5 2 1].
Instead of getting what bar3(A) provides, I want to get this:
rotated bar3.png
Thanks.

채택된 답변

Star Strider
Star Strider 2018년 12월 26일
Try this:
A=[3 5 7; 7 3 9; 5 2 1];
figure
bar3(A)
view(32, 18)
Tweak the angles in the view (link) call to get the result you want.
  댓글 수: 2
kortas manel
kortas manel 2018년 12월 27일
thank you
Star Strider
Star Strider 2018년 12월 27일
As always, my pleasure.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 3-D Scene Control에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by