How to rotate 3d graph freely by x or y axis?

조회 수: 10 (최근 30일)
wei zhang
wei zhang 2019년 11월 4일
답변: Star Strider 2019년 11월 4일
Hi,
I am trying to view some 3d geometric surface file. I found a problem that I can't rotate the graph total freely.
For example,
surf(peaks);
rotate3d on;
I can rotate the graph by the z axis freely. But when I want to rotate it by x, y or any other axis in the xy plane. The rotation must stop at 180 ° or -180 ° . I want to know the method to overcome this limitation in plotting the figure. Does some related function or parameters in Matlab useful? Thank you.

답변 (1개)

Star Strider
Star Strider 2019년 11월 4일
It is not interactive, however the rotate function should do what you want.

카테고리

Help CenterFile Exchange에서 Data Analysis에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by