<div dir="ltr">I've never heard of nexpy -- thanks for sharing!<div><br></div><div>Aside from having a simple tool to explore data in a fashion similar to matlab, it would be nice to have a properties editor so that one can futz with the linestyle's etc until satisfied and then be able to update their rc file.</div><div><br></div><div>Isaac</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 3, 2017 at 2:25 PM, Osborn, Raymond <span dir="ltr"><<a href="mailto:rosborn@anl.gov" target="_blank">rosborn@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<div>It is probably overkill for what you want, but perhaps I can put a plug in for NeXpy (<a href="http://nexpy.github.io/nexpy/" target="_blank">http://nexpy.github.io/nexpy/</a><wbr>), which embeds a Matplotlib window in a PyQt GUI that includes an IPython
 shell. It automatically shows the cursor positions in the Options tab. Your question makes me realize that it would be easy to store the values of a cursor click in shell variables - it is used programmatically in a few places, but the values are not currently
 accessible from the shell. I am releasing a new version soon, so I will see if I can include it.</div>
<div><br>
</div>
<div>NeXpy is designed as a simple toolbox for viewing and manipulating HDF5 files, with an underlying API that allows you to construct HDF5 data structures in memory before saving them. However, you can do a lot in the shell without needing to save
 the data as HDF5. Using your example, you would just need to type in the shell</div>
<div><br>
</div>
<div>    >>> x=np.linspace(0, 2*np.pi, 100)</div>
<div>    >>> NXdata(np.sin(x), x).plot()</div>
<div><br>
</div>
<div>Ray</div><span class="">
<br>
<div>
<blockquote type="cite">
<div>On May 3, 2017, at 9:19 AM, Isaac Gerg <<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>> wrote:</div>
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="m_6104403170198548271HOEnZb">
<div class="m_6104403170198548271h5">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="m_6104403170198548271m_-2969125471202824412m_5584013986220936261HOEnZb">
<div class="m_6104403170198548271m_-2969125471202824412m_5584013986220936261h5">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="m_6104403170198548271m_-2969125471202824412m_5584013986220936261m_3298469154733008898h5">On Apr 28, 2017 1:10 PM, "Isaac Gerg" <<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>> wrote:<br type="attribution">
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="m_6104403170198548271m_-2969125471202824412m_5584013986220936261m_3298469154733008898h5">
<div dir="ltr">Are there any plans to put in data exploration tools into plotting?  For example, if I do a simple plt.plot(np.sin(np.linspace(0,<wbr>2*np.pi), 100); plt.show(), putting a tool in the toolbar whereby I can click on a point and
 get its x,y value?
<div><br>
</div>
<div>Thanks,</div>
<div>Isaac</div>
</div>
<br>
</div>
</div>
______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/matplotlib-devel</a><br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/matplotlib-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/matplotlib-devel</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
______________________________<wbr>_________________<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" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/matplotlib-<wbr>devel</a><br>
</div>
</blockquote>
</div>
<br>
</span><span class="HOEnZb"><font color="#888888"><div>-- <br>
Ray Osborn, Senior Scientist<br>
Materials Science Division<br>
Argonne National Laboratory<br>
Argonne, IL 60439, USA<br>
Phone: <a href="tel:(630)%20252-9011" value="+16302529011" target="_blank">+1 (630) 252-9011</a><br>
Email: <a href="mailto:ROsborn@anl.gov" target="_blank">ROsborn@anl.gov</a><br>
<br>
</div>
<br>
</font></span></div>

</blockquote></div><br></div>