[Matplotlib-users] plotting a pcolormesh and fill

2007-12-23 Thread Bryan Fodness
I have a pcolormest and a fill that are plotted on the same graph (they have the same scale). Is there an easy way to only plot the values of pcolormesh that lie in the fill? pcolormesh(oX, oY, test, shading='flat', cmap=cm.gray_r) fill([-x1,x2,x2,-x1], [-y1,-y1,y2,y2], 'b', alpha=0.2,

Re: [Matplotlib-users] plotting a pcolormesh and fill

2007-12-23 Thread Eric Firing
Bryan Fodness wrote: I have a pcolormest and a fill that are plotted on the same graph (they have the same scale). Is there an easy way to only plot the values of pcolormesh that lie in the fill? pcolormesh(oX, oY, test, shading='flat', cmap=cm.gray_r) fill([-x1,x2,x2,-x1],