Embed LassoSelector and Quiver

Hello everyone, I want to know if I could embed LassoSelector function with
Quiver.

More precise, I want to make a mask using LassoSelector selection.

Thanks.

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Embed-LassoSelector-and-Quiver-tp46403.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

That's a bit tricky, but not impossible. Essentially, you can't really
interact directly with the quiver object (at least, I don't think you can),
but you can have a function that would remake the quiver using a masked
version of the original input data. The mask would be created by finding
out which points are outside the given lasso. Then you would have to remove
the original quiver object (or set it to not be visible), and create a new
quiver object in its place.

I don't have much spare time to write up any psuedo-code to explain this
further, but I hope my description sets you on the right path. If you can
get it to work, it might make a fine addition to our examples gallery!

Cheers!
Ben Root

···

On Sat, Nov 7, 2015 at 11:53 AM, Hypnus1803 <hypnus1803 at gmail.com> wrote:

Hello everyone, I want to know if I could embed LassoSelector function
with
Quiver.

More precise, I want to make a mask using LassoSelector selection.

Thanks.

--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Embed-LassoSelector-and-Quiver-tp46403.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151201/b6260cd4/attachment.html>