MathGroup Archive 2000

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

Search the Archive

Re: 3-D plotting of list in spherical coordinates


Hi,

SetCoodinates[] does not change the meaning of Point[{x,y,z}] to
Point[{r,theta,phi}] you must do it by hand and say something like

gr /. {Point[p_]:> Point[CoordinatesToCartesian[p]],
       Polygon[pnts_]:> Polygon[CoordinatesToCartesian /@ pnts] } 

for the graphics primitives you have. 

Regards
  Jens

Siddiq Qidwai wrote:
> 
> Hi All,
> 
> I've an irregular list (20 x 40 grid) of numbers to be plotted in 3-D. The
> data is in spherical coordinates, i.e., r, theta and phi. I've used the
> SetCoordinates[Spherical[r, theta, phi]] and ListSurfacePlot3D commands in
> tandem but they apprently still spews out the plot in cartesian coordinates.
> I use Mathematica version 3.0. Any suggestions please?
> 
> Thanks.
> 
> Siddiq


  • Prev by Date: Re: Displaying 3D data as 2D + color ?
  • Next by Date: Re: Displaying 3D data as 2D + color ?
  • Previous by thread: 3-D plotting of list in spherical coordinates
  • Next by thread: Re: 3-D plotting of list in spherical coordinates