Wolfram Mathematica: ListPlot3D to SphericalPlot3D

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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:
a353e876eec3.jpg


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

Thank you!
 
Physics news on Phys.org
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: