Re: Coordinate readout from Graphics3D?
- To: mathgroup at smc.vnet.net
- Subject: [mg88294] Re: Coordinate readout from Graphics3D?
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Thu, 1 May 2008 03:18:56 -0400 (EDT)
- References: <fuumga$8ee$1@smc.vnet.net> <fv42ik$5tp$1@smc.vnet.net>
ahallam at iastate.edu schrieb: > On Apr 26, 2:44 am, Steve Gray <stev... at roadrunner.com> wrote: >> I thought I saw somewhere that one could read out coordinates from a >> Graphics plot, according to the mouse position. I can't find it now, >> and I don't see how it would work with Graphics3D. But anything would >> help. Thanks for any info. >> >> Steve Gray > > So I have a simpler question. > > I know I can see the options that are set for a particular 3D object > typing Options[ ] around the object. This is particularly useful > when I have rotated the object with the mouse. > > But when I right click on the object and then use the object > inspector (ctrl-shift-o) and then choose Formatting, Expression > Formatting, Graphics3D Box Options, a change viewpoint (which has > lots of decimal places) is not completely visible.. Typing Options > when can use the mouse seems clunky, but not if you cannot view the > entire set of options. > > Any ideas? > You may try the following function: ExtrahiereViews[ll_]:= Flatten[Union[Extract[ll,Position[ll,#]]&/@ {ViewPoint->_, ViewCenter->_, ViewVertical->_, ViewAngle->_, ViewVector->_, ViewRange->_}]]; Call it and paste the graphics you moved with your mouse as argument. I use CMD+Shift+L (copy output from above) for that purpose Gruss Peter -- ==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-== Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de