Rotation of 3d image

2 ビュー (過去 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 Center および File ExchangeImage Processing and Computer Vision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by