On 08/15/2011 11:10 PM, Till Stensitzki wrote: > Hello, > for a interactive gui program i want to change the shown data without changing > the rest of the figure. For normal plots, there is a set_xdata/set_ydata > methods. For QuadMesh, there is a set_array method, which i don't get to work.
You have to use ravel(). Illustrated with ipython -pylab: xx = pcolormesh(rand(3,3)) xx.set_array(rand(3,3).ravel()) draw() xx.set_array(rand(3,3).ravel()) draw() Eric > > Thanks, > Till ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users