Graphical input from mouse or cursor

Dear Obspy users,

Is it possible to click with the mouse on the stream plot and get the X and
Y values?
Basically, I want to do the manual picking of a phase.

Sincerely,
Matthew

Hi Matthew,

the plot() functionality is really not intended for this but if you really want to you can hookup matplotlib events as described here:

To get the figure handle of a Stream plot, do:

fig = st.plot(handle=True)

Cheers!

Lion

Thank you Lion!
I hope you are well, and sorry if I bothered you with this question.

Sincerely,
Matthew

Some other tools that have been mentioned already several times in
similar questions to this list are..

https://github.com/miili/StreamPick (never used it myself though)
https://github.com/megies/obspyck/

..and probably some others as well, you can always search the list
archives for certain keywords.. try e.g. the following search string in
google:

pick site:http://lists.swapbytes.de/archives/obspy-users

cheers,
T