Daily Archive for January 28th, 2008

Interactively select points from a plot in matplotlib

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.
Continue reading ‘Interactively select points from a plot in matplotlib’