Activity for Pete

  • Pete Pete posted a comment on discussion Help

    In my Mayavi geometry which I create using mlab.triangular_mesh(), I want to create a 'heat map' type effect by scaling individual element coloration within a given colormap using externally supplied data (think: heat, stress, surface curvature, whatever) This is the only example I have found which approaches the topic, but I'd like your input if: 1) there is a better way to do it (using scalar field in triangular_mesh()?); and 2) how to relate the scalar input to a specific color map. import numpy...

1