<div dir="ltr">This logging the values to a DB seems orthogonal to the fact that you've plotted them. <div><br></div><div>Your application is reading in the data from somewhere before feeding it to the plot, so there's no reason matplotlib needs to be involved at all.</div><div><br></div><div>You could use an ORM like SQLAlchemy to write your data to the DB. I would post this question that mailing list.</div><div>-p</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 2:45 PM, jkelleyus <span dir="ltr"><<a href="mailto:john.kelley@idcastings.com" target="_blank">john.kelley@idcastings.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All,<br>
<br>
Please forgive me if this has been asked and answered..I couldn't locate any<br>
information in the archives.<br>
<br>
We have an application running on Raspian which plots metal cooling times<br>
and uses the data to present several results. These results are presented on<br>
the plot.<br>
<br>
What I'd like to do is grab these numbers and log them into a SQL DB with<br>
timestamp. Is this easily done...and if so, can anyone point me in the right<br>
direction?<br>
<br>
If I could get the data written to something as a text file, I could use our<br>
SQL server to grab it from there...or are there more elegant solutions?<br>
<br>
Any help and or advice would be greatly appreciated. Thanks!!!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://matplotlib.1069221.n5.nabble.com/Logging-Data-to-SQL-server-tp46975.html" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/Logging-Data-to-SQL-server-tp46975.html</a><br>
Sent from the matplotlib - users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div><br></div>