[obspy-users] Graphical input from mouse or cursor

Matthew Agius matthew.agius at um.edu.mt
Wed May 24 11:39:58 CEST 2017


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

Sincerely,
Matthew


On 24 May 2017 at 10:35, Lion Krischer <krischer at geophysik.uni-muenchen.de>
wrote:

> 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:
>
> https://matplotlib.org/users/event_handling.html
>
>
> To get the figure handle of a Stream plot, do:
>
> fig = st.plot(handle=True)
>
>
> Cheers!
>
> Lion
>
>
>
> On 24.05.17 11:14, Matthew Agius wrote:
>
> 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
>
>
> _______________________________________________
> obspy-users mailing listobspy-users at lists.swapbytes.dehttp://lists.swapbytes.de/mailman/listinfo/obspy-users
>
>
>
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.swapbytes.de
> http://lists.swapbytes.de/mailman/listinfo/obspy-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20170524/cdbcb0e2/attachment.html>


More information about the obspy-users mailing list