Speed up rotation on figures?

5 vues (au cours des 30 derniers jours)
David Pesetsky
David Pesetsky le 12 Juin 2016
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

Réponses (1)

Muhammad Usman Saleem
Muhammad Usman Saleem le 12 Juin 2016
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 commentaires
David Pesetsky
David Pesetsky le 12 Juin 2016
Up in the Figure toolbar is a Rotation Button already. Goes slow.
Muhammad Usman Saleem
Muhammad Usman Saleem le 13 Juin 2016
Rotate this figure on some angle to increase spead.
Vote up and accept this answer if youb find solution from here ..

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by