Re: Contours on a sphere
- To: mathgroup at smc.vnet.net
- Subject: [mg16407] Re: Contours on a sphere
- From: Lawrence Walker <lwalker701 at earthlink.net>
- Date: Thu, 11 Mar 1999 02:17:05 -0500
- Organization: Morgan State University: COMSARE
- References: <7bo0jg$dp2@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I would try to first parametrize the density function and formulate the equation f[x,y,z]==val where val is the value of the contour. The FindRoot function can be use to seek a set of values that satisfy the equation. You would have to repeatedly apply the FindRoot function using different starting points to obtain a set of points. I would map the Interpolate function to the set of x1, x2, ... values. Repeat for y and z values. Now I have a set of three InterpolationFunctions of one parameter. I would feed this into the ParametricPlot3D function. Hope this helps, Lawrence "Luis A. Aguilar" wrote: > > Hello! > > I have a density function defined on a sphere. > How can I generate and draw the corresponding > contour lines using one of the projections > available in Mathematica? > > Thanks! > > Luis A. Aguilar -- ------------------------------------------------------------ (\___/) The fear of the LORD is the beginning of (o\ /o) wisdom: a good understanding have all they /|:.V.:|\ that do his commandments: his praise \\:::::// endureth for ever. Psa 111:10 -----`"" ""`------------------------------------------------ Lawrence A. Walker Jr., M.Eng./Ph.D. Candidate Morgan State University Clarence M. Mitchell School of Engineering COMSARE (Center Of Microwave/Satellite And RF Engineering) Rm: 306-Schafer Phone: (443)885-1453 ------------------------------------------------------------