<div dir="ltr">It looks like MultiCursor does not directly store that information, it just implicitly stores it in the positions of the lines.  I would look at `multi.vlines` and `multi.hlines`, loop over those and extract the information you need.<div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 30, 2017 at 11:06 AM A.Brahim <<a href="mailto:abdaoui.brahim@hotmail.fr">abdaoui.brahim@hotmail.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm using this code to generate subplots with multiCursor crossing plots, and<br>
I want to get values (cursor coordinates) for all existing plots at the same<br>
time to show them in labels (on mouse motion).<br>
<br>
<br>
import numpy as np<br>
import matplotlib.pyplot as plt<br>
from matplotlib.widgets import MultiCursor<br>
<br>
t = np.arange(0.0, 2.0, 0.01)<br>
s1 = np.sin(2*np.pi*t)<br>
s2 = np.sin(4*np.pi*t)<br>
fig = plt.figure()<br>
ax1 = fig.add_subplot(211)<br>
ax1.plot(t, s1)<br>
<br>
<br>
ax2 = fig.add_subplot(212, sharex=ax1)<br>
ax2.plot(t, s2)<br>
<br>
multi = MultiCursor(fig.canvas, (ax1, ax2), color='r', lw=1)<br>
plt.show()<br>
<br>
<br>
<br>
<<a href="http://matplotlib.1069221.n5.nabble.com/file/t5115/U16Dl.png" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/file/t5115/U16Dl.png</a>><br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://matplotlib.1069221.n5.nabble.com/matplotlib-devel-f28077.html" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/matplotlib-devel-f28077.html</a><br>
_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
</blockquote></div>