V.S.
V.S.

Reputation: 3014

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

Upvotes: 0

Views: 2597

Answers (1)

Chris Kuklewicz
Chris Kuklewicz

Reputation: 8153

You can use the mplot3d toolkit, http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/index.html

Upvotes: 2

Related Questions