Wolfram Mathematica: ListPlot3D to SphericalPlot3D

Click For Summary
SUMMARY

The discussion focuses on converting a list of spherical coordinates into a SphericalPlot3D in Wolfram Mathematica. The user initially calculates the coordinates using NIntegrate and attempts to visualize them with ListPlot3D. Key solutions proposed include manually creating a Graphics3D file in SphericalPlot3D format or directly using a NIntegrate function within SphericalPlot3D for plotting. These methods provide effective ways to visualize spherical data in Mathematica.

PREREQUISITES
  • Familiarity with Wolfram Mathematica 12.0 or later
  • Understanding of spherical coordinates and their representation
  • Knowledge of NIntegrate function in Mathematica
  • Basic experience with 3D plotting functions in Mathematica
NEXT STEPS
  • Explore the SphericalPlot3D function in Wolfram Mathematica
  • Learn how to manipulate Graphics3D objects in Mathematica
  • Investigate advanced plotting techniques using NIntegrate
  • Review tutorials on converting coordinate systems in Mathematica
USEFUL FOR

This discussion is beneficial for Mathematica users, data scientists, and mathematicians seeking to visualize spherical data effectively. It is particularly relevant for those working with 3D plots and integral calculations in Mathematica.

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:

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K