All,

In the code on:

http://matplotlib.sourceforge.net/examples/api/bbox_intersect.html

I think I've figured out that:

    vertices = (np.random.random((4, 2))-0.5)*6.0
    vertices = np.ma.masked_array(vertices, [[False, False], [True, True], 
[False, False], [False, False]])

prevents the second of four random vertices from being used. But I'm not sure 
why

    plot(vertices[:, 0], vertices[:, 1], color=color)

seems to connect only two points for a line segment.

Can someone explain?

D.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to