Re: sphere coordinates???
- To: mathgroup at smc.vnet.net
- Subject: [mg16137] Re: sphere coordinates???
- From: adam.smith at hillsdale.edu
- Date: Sat, 27 Feb 1999 03:23:07 -0500
- Organization: Deja News - The Leader in Internet Discussion
- References: <7b36fa$23r@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <7b36fa$23r at smc.vnet.net>, "Ed Runco" <maddog at psu.edu> wrote: > How do I specify the coordinates of a 3DGraphics Sphere? > > Ed > maddog at psu.edu > > Ed, You have to use the command TranslateShape[ ]. See the below example of a sphere translated to x=2.5,y=0,z=0 and one at the origin In[1]:= <<Graphics`Shapes` In[2]:= Show[ {TranslateShape[Graphics3D[ Sphere[] ],{2.5, 0, 0}], Graphics3D[ Sphere[]]}, Axes->True,PlotRange->{{-4,4},{-4,4},{-3,3}}] Hope that helps -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own