Speed up rotation on figures?

5 visualizaciones (últimos 30 días)
David Pesetsky
David Pesetsky el 12 de Jun. de 2016
Comentada: Muhammad Usman Saleem el 13 de Jun. de 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

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by