Re: Viewpoint selector for Mac in 6.0?
- To: mathgroup at smc.vnet.net
- Subject: [mg86834] Re: Viewpoint selector for Mac in 6.0?
- From: dflatin at rcn.com
- Date: Sun, 23 Mar 2008 01:00:16 -0500 (EST)
- References: <fs26q4$96$1@smc.vnet.net>
On Mar 22, 1:52 am, Ravi Balasubramanian <br... at cs.washington.edu> wrote: > Hello friends, > > It appears that the viewpoint selector for 3D graphics is absent in 6.0 > (Mac version). Is there an alternate way to manually choose a view > (other than trying different viewpoints repeatedly)? Suggestions > appreciated. > > Ravi > University of Washington You can try this: Manipulate[ Module[{x, y, z}, x = r Sin[\[Theta]] Cos[\[Phi]]; y = r Sin[\[Theta]] Sin[\[Phi]]; z = r Cos[\[Theta]]; Graphics3D[Cylinder[], ViewPoint -> {x, y, z}] ], "ViewPoint", {{r, 3}, 1.5, 10, Appearance -> "Labeled"}, {{\[Theta], Pi/4}, 0, Pi, Appearance -> "Labeled"}, {{\[Phi], Pi/6}, -Pi, Pi, Appearance -> "Labeled"} ]