MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Rotate vertically, sometimes yes, sometimes not

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91673] Rotate vertically, sometimes yes, sometimes not
  • From: "E. Martin-Serrano" <eMartinSerrano at telefonica.net>
  • Date: Wed, 3 Sep 2008 06:46:51 -0400 (EDT)

Hi,



Thanks to Wolfram for the info about Manipulate. Seems they sent to me all
what they have. Thanks again.



Now, please,



Find in the Documentation Center the entry Interacting with 3D Graphics
and go to the section Rotate About the Axis Perpendicular to the Screen.
There one can read: You can also rotate 3D objects about the axis
perpendicular to the screen with your mouse., and Move the pointer to a
corner of the display area of the 3D graphic., and The pointer changes to
the 3D vertical rotate pointer., and then Click and move the pointer
clockwise or counterclockwise.



OK.



If you do that on the graphics3D object generated by



p3d = Plot3D[Sin[x =
y],{x,0,3},{y,0,3},ColorFunction->"Rainbow",Mesh->None] ,
the pointer does not change to the 3D vertical rotate pointer, but it
remains as the 3D rotate pointer  instead. If one performs



FullGraphics[p3d]//InputForm



One gets the following at the bottom of the output:



Method -> {"RotationControl" -> "Globe"}



This seems to be a non documented option/feature or whatever; since neither
Method -> {"RotationControl" -> "Globe"} nor

1)      "RotationControl"  are in the Documentation Center; and sounds as if
it were the reason why the pointer does not change to 3D vertical rotate
pointer, but remains as the 3D rotate pointer  instead. First side
(intended) effect is that Plot3D objects cannot be rotated in this way. Why
not?

2)      Other side effect, if several different 3D graphics are merged with
Show, the whole picture does not rotate vertically if one does not take
special care in the order given to the parameters in Show and one with
Method -> {"RotationControl" -> "Globe"} happens to be in the first
position, then nothing works as wanted. Anyway one has to know advance in
whether the option Method -> {"RotationControl" -> "Globe"} was or not there
and what its meaning is. In any case this is a strong restriction for Show
because the order of the parameters matters a lot.



Apart form the fact that one must necessarily dive into the inner and
detailed data of the object just to guess what is going on, it contradicts
the general statement You can also rotate 3D objects about the axis
perpendicular to the screen with your mouse, since, there is at least one
exception and it should have been documented. Besides, I am not sure whether
it is the actual reason why that 3D plot does not rotate about the axis
perpendicular to the screen. Of course, <<Method -> {"RotationControl" 
->
"Globe"}>> has been generated by Mathematica. So it is the default setting.
Can it be overridden?



By the way, this drawback (?) can be avoided by using the Prestantions
package by David Park.



Draw3DItems[ Draw3D[Sin[x
y],{x,0,3},{y,0,3},ColorFunction->"Rainbow",Mesh->None ]]  works perfect, as
expected.

While

Show[Plot3D[Sin[x y],{x,0,3},{y,0,3},ColorFunction->"Rainbow",Mesh->None ]]
does not work either.



Any help?



E. MartEDn-Serrano



  • Prev by Date: Thinking Mathematica: Any suggestions?
  • Next by Date: Rotate vetically, sometimes yes, sometimes not
  • Previous by thread: Re: Thinking Mathematica: Any suggestions?
  • Next by thread: Rotate vetically, sometimes yes, sometimes not