|
From: Nick R. <ncr...@gm...> - 2013-04-02 16:03:21
|
Hi listserve, I was wondering if anyone had implemented an roipoly function for matplotlib? I am looking for a function that will display a plot, accept a series of left clicks to select an arbitrary number points in a sequence, draw the polygon as I click, and complete the polygon with a right click on an appropriate point. The function would return a mask array indicating which points are inside the polygon and which are not. Nick |