On Mon, Aug 15, 2011 at 4:56 PM, Mathew Yeates <mat.yea...@gmail.com> wrote:

> Hi
> Is there a simple way to do the following
>
> l1=Line2D(xdata=[1,2,3],ydata=[4,5,6])
>
> l2=Line2D(xdata = [1].ydata=[3])
>
> if l2 in l1 #error, Line2D not iterable
>
>
> -Mathew
>
>
Haven't tried it, but you might want to look at
matplotlib.path.contains_path() or matplotlib.path.path_in_path()?

Ben Root
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to