# Plot of array of shape (N,N,N) in form of sphere

4 messages
Open this post in threaded view
|
Report Content as Inappropriate

## Plot of array of shape (N,N,N) in form of sphere

 Dear All, I have an array of shape (N,N,N) of intensity values. How can I plot those intensity values in form of sphere. Can I show a cut of quadrant of that sphere, so that I can visualize intensity not only on the surface but also inside the sphere. Thanks
Open this post in threaded view
|
Report Content as Inappropriate

## Re: Plot of array of shape (N, N, N) in form of sphere

 This sounds like something you'd want to use yt or mayavi for. While MPL has basic 3D capabilities (e.g., scatter, line, and surface plots), taking cuts of volumes is definitely out of our scope unless you've pre-computed everything.-PaulOn Thu, Jul 27, 2017 at 9:15 AM, cdpnepal wrote:Dear All, I have an array of shape (N,N,N) of intensity values. How can I plot those intensity values in form of sphere. Can I show a cut of quadrant of that sphere, so that I can visualize intensity not only on the surface but also inside the sphere. Thanks -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Plot-of-array-of-shape-N-N-N-in-form-of-sphere-tp48103.html Sent from the matplotlib - users mailing list archive at Nabble.com. _______________________________________________ Matplotlib-users mailing list [hidden email] https://mail.python.org/mailman/listinfo/matplotlib-users _______________________________________________ Matplotlib-users mailing list [hidden email] https://mail.python.org/mailman/listinfo/matplotlib-users
Open this post in threaded view
|
Report Content as Inappropriate

## Re: Plot of array of shape (N, N, N) in form of sphere

 Another fantastic tool is glumpy: https://glumpy.github.io/ (but I am not familiar enough with the API to know how to do volumetric displays). vispy is another possibility, but I am unsure of its current status (it went silent about a year ago).Ben RootOn Mon, Aug 7, 2017 at 11:52 AM, Paul Hobson wrote:This sounds like something you'd want to use yt or mayavi for. While MPL has basic 3D capabilities (e.g., scatter, line, and surface plots), taking cuts of volumes is definitely out of our scope unless you've pre-computed everything.-PaulOn Thu, Jul 27, 2017 at 9:15 AM, cdpnepal wrote:Dear All, I have an array of shape (N,N,N) of intensity values. How can I plot those intensity values in form of sphere. Can I show a cut of quadrant of that sphere, so that I can visualize intensity not only on the surface but also inside the sphere. Thanks -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Plot-of-array-of-shape-N-N-N-in-form-of-sphere-tp48103.html Sent from the matplotlib - users mailing list archive at Nabble.com. _______________________________________________ Matplotlib-users mailing list [hidden email] https://mail.python.org/mailman/listinfo/matplotlib-users _______________________________________________ Matplotlib-users mailing list [hidden email] https://mail.python.org/mailman/listinfo/matplotlib-users _______________________________________________ Matplotlib-users mailing list [hidden email] https://mail.python.org/mailman/listinfo/matplotlib-users