简体   繁体   中英

Matplotlib 3d colour plot - is it possible?

I've googled around for this and am unable to find anything which suggests that it may not exist, but I wanted to ask stackoverflow.

I'm using python, together with matplotlib and I'm looking to plot something like this: http://en.wikipedia.org/wiki/File:Spherical_harmonics.png

Essentially what I would call a 3d heatmap, a 3d surface with colours representing the magnitude of a function at that point. Similar to the link above I want to plot a colourised sphere, showing the value of the magnitude of this function at this point.

Is this possible

您可以使用mplot3d工具包, http: //matplotlib.sourceforge.net/mpl_toolkits/mplot3d/index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM