Stéfan,

OK, I see some differences now, and it looks like it is related to 
antialiasing and the rendering of patch boundaries.  I have run into 
this sort of thing before, where depending on how patch edges are 
handled, and depending on the particular renderer and viewer 
combination, antialiasing can make the result better or worse.  To make 
things even more confusing, a combination that looks good with alpha=1 
can look bad with alpha<1.

Linewidth of 1 is a bit drastic, and can significantly shift the 
perceived boundaries.  Maybe a smaller value would be adequate.  I 
played with all this a long time ago before settling on linewidth of 
zero with antialiasing turned on, which seemed to be a good compromise. 
  Either I was wrong, or the Agg rendering is different in Agg 2.4.

One of the strange things here is that even when I set the antialiased 
kwarg to False, I still seem to be getting antialiasing.

The lack of effect of the antialiasing kwarg on my system looks like a 
definite bug that requires investigation.

To be continued, but not right now.

Eric

Stéfan van der Walt wrote:
> On 20/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote:
>>  I don't see any contour lines; I see only the boundaries between patches.
>> In other words, the plot looks the way I would expect it to. This is with
>> evince or gv on a linux machine.  (Both fail when trying to blow up the plot
>> to 400%, but work at 200%.)
> 
> Attached is the script that generates the contour plot I'm interested
> in.  A PNG cropped from the PS onscreen is at
> 
> http://mentat.za.net/refer/contour_zoom.png
> 
> It's small, but the line should be clearly visible.
> 
>>  My sense is that there is an optical illusion effect making the boundaries
>> look somewhat line-like, but it doesn't sound like this is what you are
>> talking about, so I am baffled.
> 
> Could be -- maybe an interpolation effect?  Odd thing is that the
> lines are differently coloured.  In fact, I can get *only* the lines
> to render by commenting out certain lines in contour.py.
> 
>>  Do you see the problem if you run contourf_demo.py and use the gui to
>> generate png, pdf, and ps files from figure 1?  I still can't see any sign
>> of it anywhere.
> 
> I see contour lines, as shown here:
> 
> http://mentat.za.net/refer/contour_demo.png
> 
>>  Would you send a png file generated with and without your workaround,
>> please?  That should get around any differences in postscript interpreters.
> 
> They are here:
> 
> http://mentat.za.net/refer/contours_without_patch.png
> http://mentat.za.net/refer/contours_with_patch.png
> 
>>  It sounds like you are seeing something fairly subtle that I am having a
>> hard time seeing, and that is new with the transforms branch.
> 
> I don't want to waste your time further with this problem, so if you
> think the above png's look fine then I'll just use my workaround.  It
> might be a problem very specific to my setup.
> 
> Thanks for your time,
> Stéfan


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to