On Wed, Jun 2, 2010 at 11:41 AM, Eric Firing <efir...@hawaii.edu> wrote:
> On 06/01/2010 05:21 PM, Benjamin Root wrote:
> > I have finally managed to test against TkAgg, and the faint white lines
> > do not appear to occur. So, as far as I can tell (no clue about Macs),
> > the GTKCairo, pdf and svg backends have this display bug. Shall I file
> > a bug report for this and another for the misaligned title?
>
> Yes. Please include the simplest scripts you can devise that generate
> and illustrate the problems. In the pcolormesh case, this means keeping
> the plot (and the data being plotted) as simple as possible. If the
> problem can be illustrated with only two color regions, for example,
> that is ideal.
>
> Eric, I have attached scripts to both bug reports. I have noticed that the
svn repo still does not have rasterization decorators for some of the
collections (e.g., PolyCollection, EllipseCollection, CircleCollection if I
remember correctly). Don't know what are supposed to be the final list of
Collection that are eligible for that decorator, but it is incomplete at
this point in the trunk.
Ben Root
> Eric
>
> >
> > Ben Root
> >
> > On Tue, Jun 1, 2010 at 1:07 PM, Benjamin Root <ben.r...@ou.edu
> > <mailto:ben.r...@ou.edu>> wrote:
> >
> > Correction -- the problem with pcolormesh and the faint white lines
> > are occurring for pdf and svg files, *not* eps files as I originally
> > stated. I am also checking a number of display backends and found
> > that the problem occurs for GTKCairo. I am sure it also happens for
> > TkAgg, but I can not confirm that right now. I am unable to test
> > the Mac backends, though.
> >
> > On a side note, when testing the backends, I noticed that GTKCairo
> > was *slow* for displaying the figures. Also, the GTK backend
> > produced misaligned titles. I can start a new thread about the
> > misaligned titles, if someone wishes.
> >
> > Ben Root
> >
> >
> > On Tue, Jun 1, 2010 at 11:05 AM, Benjamin Root <ben.r...@ou.edu
> > <mailto:ben.r...@ou.edu>> wrote:
> >
> >
> >
> > On Tue, Jun 1, 2010 at 9:39 AM, Ryan May <rma...@gmail.com
> > <mailto:rma...@gmail.com>> wrote:
> >
> > On Mon, May 31, 2010 at 11:28 AM, Benjamin Root
> > <ben.r...@ou.edu <mailto:ben.r...@ou.edu>> wrote:
> > > Markus,
> > >
> > > That is good to know that it has been fixed. As for the
> > difference in
> > > pcolor and pcolormesh, I think it has to do with the fact
> > that pcolormesh is
> > > composed of many lines while pcolor is composed of many
> > polygons. It is
> > > probably more efficient to rasterize polygons than lines.
> >
> > To be blunt, this makes no sense whatsoever. First,
> > pcolormesh and
> > pcolor differ in that it pcolor uses a generic
> > PolyCollection to draw
> > the quads, while pcolormesh uses a quadmesh object, which
> > can be more
> > efficient at the cost of generality, as it only needs to
> > render a set
> > of identical quads. Second, if you're talking rasterized
> > drawing, in
> > the end what gets written to a file is a 2D array of RGBA
> > values. It
> > doesn't matter what you use to produce the results:
> > identical image on
> > the screen -> identical array in file. It's possible that
> > there are
> > slight differences that you can't really see that produce
> > different
> > arrays, but that won't cause a factor of 8 difference in
> > size. My
> > guess is that pcolormesh isn't rasterizing properly.
> >
> > Indeed, you are right that lines aren't drawn. I have looked
> > back at the images produced by my test script that I posted to
> > this thread and I see where I got confused. The pcolormesh
> > result in pdf and eps files have very faint white blocks around
> > each quad. At high enough data resolution, the color part of
> > the quads look like lines while the white lines look like dots.
> > This happens regardless of using rasterized=True or not, and I
> > don't think it is visible in png files (although I am testing
> > some very high resolution png files to verify).
> >
> > Ben Root
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> >
> >
> > _______________________________________________
> > Matplotlib-devel mailing list
> > Matplotlib-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel