Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I like the way 3D plots are rotated with the z-axis always pointing up-down. Is there an elegant way of forcing that type of rotation on Graphics3D?

I have tried the following:

  1. Using an invisible locator and mapping the position to a specific viewpoint. That works, but behaves strangely (from the users perspective) because the graphics rotates as soon as the mouse is clicked and not the 'click-drag'-way, that you would expect, due to the locator jumping.

  2. Using 'Show' to combine the Graphics3D with a Plot3D. Then the rotation is exactly as I would like, but it slows the animation due to the (undesired) surface.

share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

The option Method offers a way to control the rotation.

Test the following idea:

Graphics3D[Cone[], Method -> {"RotationControl" -> "Globe"}]
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.