필터 지우기
필터 지우기

Rotation of 3d image

조회 수: 1 (최근 30일)
John
John 2014년 12월 28일
댓글: John 2014년 12월 28일
I have plotted a 3d image. I want to rotate that on the plane along the vertical axis for one complete cycle automatically. Is there any function to do that?

채택된 답변

Shoaibur Rahman
Shoaibur Rahman 2014년 12월 28일
I am not sure what your aim is. You can try the following code:
for az = -37.5:5:322.5
view(az,30)
pause(0.1)
end
Append this piece of code after your plot. In 3D, view(3) has azimuth = -37.5 and elevation = 30. So, keeping elevation fixed I change the azimuth for 360 degrees.
  댓글 수: 1
John
John 2014년 12월 28일
Hey Shoaibur,
This works fine. I was thinking something like that.
Thank you.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-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