我已经用谷歌搜索过这个问题,但找不到任何表明它可能不存在的东西,但我想问 stackoverflow。
我正在使用 python 和 matplotlib,我希望绘制如下所示的内容:
http://en.wikipedia.org/wiki/File:Spherical_harmonics.png
本质上我称之为 3D 热图,即一个 3D 表面,其颜色代表该点函数的大小。与上面的链接类似,我想绘制一个彩色球体,显示此时该函数的幅度值。
这可能吗
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
发布评论
评论(1)
您可以使用 mplot3d 工具包, http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/索引.html
You can use the mplot3d toolkit, http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/index.html