John, that's exactly what I wanted, thanks. Andres
John Hunter wrote: > > > On Wed, Apr 29, 2009 at 10:54 AM, John Hunter <jdh2...@gmail.com > <mailto:jdh2...@gmail.com>> wrote: > > > > fill_between does not currently support masked arrays, but I think > we could easily extend it to support the mask using the existing > support for the "where" kwarg. For now, does this behave like you > expect? > > valid = ~(edatmax.mask & edatmax.mask ) > > pylab.fill_between(xtelg,edatmax,edatmin,facecolor='green',alpha='0.3', > where=valid) > > > > Oops -- meant > > valid = ~(edatmin.mask & edatmax.mask ) > > JDH > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users