Posts Tagged ‘interactive’

Interactively select points from a plot in matplotlib

Monday, January 28th, 2008

In Matlab, there is a very useful function called ginput(). There is no such ready-built function for matplotlib/pylab, but all the pieces are there. Copy and paste this code to get ginput functionality.
(more…)