Re: [Matplotlib-users] Clipping Contours

2012-10-18 Thread Jae-Joon Lee
On Tue, Oct 16, 2012 at 4:04 PM, T J wrote: > I'm interested in clipping the result of plt.contour (and > plt.contourf) to a patch. However, QuadContourSet does not have a > set_clip_path() method. Is there a way to do this? QuadContourSet does not (I think it should), but LineCollection instan

Re: [Matplotlib-users] Clipping Contours

2012-10-17 Thread Ian Thomas
On 16 October 2012 18:44, T J wrote: > > This is a set of 152 points on a triangle. delaunay is mentioned to > have problems for some pathological cases. Is a complete triangular > grid considered as such a case? > Yes, under certain circumstances! delaunay is not 'geometrically robust', mean

Re: [Matplotlib-users] Clipping Contours

2012-10-16 Thread T J
On Tue, Oct 16, 2012 at 2:34 AM, Damon McDougall wrote: > On Tue, Oct 16, 2012 at 8:04 AM, T J wrote: >> I'm interested in clipping the result of plt.contour (and >> plt.contourf) to a patch. However, QuadContourSet does not have a >> set_clip_path() method. Is there a way to do this? >> >> Her

Re: [Matplotlib-users] Clipping Contours

2012-10-16 Thread Damon McDougall
On Tue, Oct 16, 2012 at 8:04 AM, T J wrote: > I'm interested in clipping the result of plt.contour (and > plt.contourf) to a patch. However, QuadContourSet does not have a > set_clip_path() method. Is there a way to do this? > > Here is an example plot that I have generated. > >http://imgur.

[Matplotlib-users] Clipping Contours

2012-10-16 Thread T J
I'm interested in clipping the result of plt.contour (and plt.contourf) to a patch. However, QuadContourSet does not have a set_clip_path() method. Is there a way to do this? Here is an example plot that I have generated. http://imgur.com/pybIf For the curious, it plots contours of a functi