Re: [Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-13 Thread Jae-Joon Lee
On Fri, Mar 12, 2010 at 7:45 AM, othererik wrote: > Here's a short example that does the opposite of what I'm looking for.   The > goal is to take a the polygon "poly_patch" and "cut" regions out of it. > All I've managed to achieve so far has been to show regions of the > "poly_patch". > With cl

Re: [Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-12 Thread othererik
Jae-Joon Lee wrote: > > > Please post a complete example that demonstrate your problem. My guess > is that maybe you are not setting the transform of the clipping path > correctly. > Regards, > > -JJ > > > Here's a short example that does the opposite of what I'm looking for. The goal is

Re: [Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-11 Thread Jae-Joon Lee
On Tue, Mar 9, 2010 at 4:22 PM, othererik wrote: > I assumed that my_polygon.set_clip_path( patch ) where patch is a > patches.Polygon would do the trick. > Please post a complete example that demonstrate your problem. My guess is that maybe you are not setting the transform of the clipping path

[Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-09 Thread othererik
I've become stuck on what seems to be an easy problem. Can part of a patch or collection be masked or otherwise hidden? I assumed that my_polygon.set_clip_path( patch ) where patch is a patches.Polygon would do the trick. Thanks, -Erik -- View this message in context: http://old.nabble.com