Re: Explicitly specifying the 3d viewing options (pan, rotate, etc.)
- To: mathgroup at smc.vnet.net
- Subject: [mg121864] Re: Explicitly specifying the 3d viewing options (pan, rotate, etc.)
- From: "Oleksandr Rasputinov" <oleksandr_rasputinov at hmamail.com>
- Date: Wed, 5 Oct 2011 04:02:00 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j6e684$ke8$1@smc.vnet.net>
On Tue, 04 Oct 2011 06:40:20 +0100, Theo Moore <tsg.moore at googlemail.com> wrote: > Hi, > > I'm looking for an easy way to specify the 3d viewing options that you > can alter by clicking a 3d plot and dragging your mouse. For example, > plot a graph using: > > Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}] > > And then click and rotate it (or click and zoom in/out, etc.). Is > there a way to output the parameters which were used as I manually > rotated it, so that one could duplicate this (now-changed) graphic > from an explicit command? > When you have the output you want, copy it and paste into the following: AbsoluteOptions[<<paste here>>, {PlotRange, ViewCenter, ViewPoint, ViewVertical}] which will give you the values of these options resulting from your manipulations. There are quite a lot of AbsoluteOptions apart from these; you might wish to specify some additional ones if you've e.g. adjusted the image size and want to preserve this as well.