Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

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    


  • Prev by Date: Re: MathLink & Metrowerks CodeWarrior
  • Next by Date: Re: bitmaps disappearing
  • Previous by thread: sphere coordinates???
  • Next by thread: Mathematica for Alpha-Linux