Stéfan van der Walt wrote:
> On 20/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote:
>>> Odd, I'm using matplotlib 0.98pre (svn) with GTKAgg (gtk 2.12.8, pygtk
>>>
>>  Very odd.  Would you try writing out postscript and pdf, please, and see
>> whether they behave the same way?
> 
> The contour lines are still visible:
> 
> http://mentat.za.net/refer/contours.ps

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%.)

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.

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.

Would you send a png file generated with and without your workaround, 
please?  That should get around any differences in postscript 
interpreters.  Also helpful would be a ps file with and without your 
workaround, preferably of an extremely simple example so it will be easy 
to see the difference in the generated ps.

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.  Your 
patch must be pointing in the right direction, but I don't understand 
why, yet, and there should be no need for a kwarg; we don't want 
boundaries with contourf, period. The reason is that the contour 
algorithm we are using makes patches with slits, so rendering the 
boundary does not have the desired effect; one needs to call contour 
separately to get valid lines as boundaries.  Then there is the problem 
that those lines don't *always* coincide with the corresponding patch 
boundaries, but this is generally not a problem unless the contours are 
ill-determined anyway. It is still bad, but there is no easy solution.

Eric

-------------------------------------------------------------------------
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