On Fri, Jul 20, 2007 at 06:57:26AM -1000, Eric Firing wrote: > Paul Kienzle wrote: > > On Fri, Jul 20, 2007 at 08:53:30AM -0400, Rob Hetland wrote: > >> Second, much of what I do involves plotting model data (on a > >> curvilinear grid). I generally like to use pcolor for these plots. > >> I *always* want shading='flat' Some of my grids are large, and I > >> only see lines if I don't. Even with smaller grids, those black > >> lines get in the way. I don't want to suggest an RC setting for > >> everything, but this one single setting would save me thousands of > >> characters typed per week. Can we add an RC shading option? > > > > If your data is on a quadrilateral mesh, try using the pcolormesh > > function. It is orders of magnitude faster than pcolor and we > > solved the black lines problem by using transparency on the mesh > > grid (though of course you can use 'flat' if you want). We only > > implemented this for the Agg backend, otherwise it falls back to > > the pcolor style rendering of a collection of polygons. > > Paul, > > Quadmesh has a bug in it that I would love to see squashed. Can you > look at it, or induce someone else to do so? I tried but couldn't > figure it out--it is something deep in the use of Agg. It is illustrated > by examples/quadmesh_demo.py. With masked data (right-hand subplot), > the masked region is not set to the background but is instead picking up > odd things. If you don't see it immediately, try reshaping and resizing > the plot a few times.
We should be able to track it down. We need to go deep in the code again anyway to figure out why performance bogs when zooming. We won't be touching it before the end of summer though. - Paul ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel