Wolfram Mathematica: ListPlot3D to SphericalPlot3D

1 reply · 2K views · last reply
sukharef
Messages
54
Reaction score
0
Hello!

There is a problem with Mathematica: i calculate an integral with a help of NIntegrate and get the whole list of spherical coordinates, like {6.24, 3.14, 0.323488}, {6.26, 3.14, 0.323488}, {6.28, 3.14, 0.323488} and so on...
then i create a list, like data = List[{6.24, 3.14, 0.323488}, {6.26, 3.14, 0.323488}, {6.28, 3.14, 0.323488}];
and plot a ListPlot3D[data]. So the result is:
3D surface plot in Mathematica on a rectangular grid, with axes labelled x (ticks 2, 4, 6) and y (ticks 1, 2, 3) and a vertical scale from 0 to 200; three sharp peaks rise from a flat blue base.


The problem is: how to create a SphericalPlot3D /Point Plot/, having the list of spherical coordinates?

Thank you!
 
Interesting problem. However, I think you need to ask this in the Math Software and Latex Forum. Perhaps a mentor will move it for you or you can pm a mentor and ask to have it moved.

Also, maybe we can manually create the Graphics3D file in SphericalPlot3D format, and then just use Show. Not sure though. Alternatively, create a NIntegrate function passed to SphericalPlot3D, and then just have SpericalPlot3D plot it directly.
 
Last edited: