1 Dec 2008 05:46
Specifying colors for a mesh
This seems like a terribly obvious question, but I have had no luck finding instructions on how to do it in the documentation: Can I specify my own colors for a mesh? That is, I have an RGB value for each point. The color= keyword argument appears to require specifically a single tuple. If this is for some reason impossible, can I supply my own colormap? In fact the colors are obtained from temperatures using a blackbody curve, so I could easily produce a look-up table to use. But it appears that I can only pass in the name of an existing look-up table. I've been using the mlab interface, because that's what's documented on the web. I'm also using version 2.2.0 because that's what's in Ubuntu Intrepid. Thanks, Anne
RSS Feed