Hi, this would be the code: https://gist.github.com/SimonDanisch/1a9b4abccac615875d72 It's not that nice, but could be easily wrapped into a nice API. Hope its comes at least close to self explaining. If you need more help, just let me know!
Am Mittwoch, 6. August 2014 15:22:57 UTC+2 schrieb Andrea Vigliotti: > > Hi All, > > > does anyboby know how to plot a 2D polygonal patch with interpolated > colouring, based on the nodal values? > > I would basically like to reproduce the matlab "patch" command, and I need > it to post-process some simulation results from on a finite element model, > what I would like to obtain is some contour filled plot on the deformed > model, which has an arbitrary shape > > PyPlot includes the fill() command that draws filled polygonal with flat > colour, but I couldn't find a version that plots polygons with interpolated > colours, > > do you guys have any suggestion about this? > > thanks, > > andrea >
