1 Dec 05:45
Specifying colors for a mesh
From: Anne Archibald <aarchiba@...>
Subject: Specifying colors for a mesh
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-12-01 04:46:16 GMT
Subject: Specifying colors for a mesh
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-12-01 04:46:16 GMT
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