Speed up rotation on figures?

조회 수: 5 (최근 30일)
David Pesetsky
David Pesetsky 2016년 6월 12일
댓글: Muhammad Usman Saleem 2016년 6월 13일
I don't think there's a real solution here, but thought I'd asl:
I have some surfaces, 3D, defined by several 100 points. I just want to be able to rotate it around in the Figure quicker. Some kind of graphics accelerator, maybe? I have a 6 core machine, and it's a shame all that power cannot be used to just rotate a figure :)
Thank. Dave

답변 (1개)

Muhammad Usman Saleem
Muhammad Usman Saleem 2016년 6월 12일
Rotate object about specified origin and direction
rotate(h,direction,alpha)
rotate(...,origin)
see example
Create a surface plot of the peaks function
hSurface = surf(peaks(20));
Rotate the surface plot 25 degrees around its x-axis.
direction = [1 0 0];
rotate(hSurface,direction,25)
  댓글 수: 4
David Pesetsky
David Pesetsky 2016년 6월 12일
Up in the Figure toolbar is a Rotation Button already. Goes slow.
Muhammad Usman Saleem
Muhammad Usman Saleem 2016년 6월 13일
Rotate this figure on some angle to increase spead.
Vote up and accept this answer if youb find solution from here ..

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

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by