MATLAB Answers

Speed up rotation on figures?

17 views (last 30 days)
David Pesetsky
David Pesetsky on 12 Jun 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

  0 Comments

Sign in to comment.

Answers (1)

Muhammad Usman  Saleem
Muhammad Usman Saleem on 12 Jun 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 Comments

Show 1 older comment
Muhammad Usman  Saleem
Muhammad Usman Saleem on 12 Jun 2016
real time smooth rotation
Please explain these lines?
If you want to show your figure in 3d, then rotation around orgin through angle will be fine
Real times rotator mean? Possible upload your figure, easily for me to understand
David Pesetsky
David Pesetsky on 12 Jun 2016
Up in the Figure toolbar is a Rotation Button already. Goes slow.
Muhammad Usman  Saleem
Muhammad Usman Saleem on 13 Jun 2016
Rotate this figure on some angle to increase spead.
Vote up and accept this answer if youb find solution from here ..

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by