<div dir="ltr">This is a long list of topics that you're asking about, and a lot of it isn't very clear. I would head over to <a href="http://pandas.pydata.org">pandas.pydata.org</a> to learn about basic time series plotting and resampling.<div><br></div><div>We can probably better help you if you ask about a specific problem. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 19, 2019 at 6:23 PM Kipton Moravec <<a href="mailto:kip@kdream.com">kip@kdream.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I am new and have been reading and playing with the tutorials.  I have <br>
not seen what I need to do.<br>
<br>
I am collecting data on some machines every second. I collect <br>
temperature, input voltage, and percentage of the time on. It is two <br>
machines (for time on),  4-8 temperatures, and 4 voltages.<br>
<br>
it comes to me as a csv file or line, with Date, time, and then all the <br>
values comma separated.<br>
<br>
I can rearrange the data to however Matplotlib requires in Python. That <br>
is not the issue.<br>
<br>
I do not know how to plot the date/time x-axis.<br>
<br>
The user wants to look at the past hour, past day, past week, past <br>
month, and past year.<br>
<br>
For the plot of the last hour I need a line and the time every 10 <br>
minutes on the x axis.<br>
<br>
For the plot of the day, probably a vertical line every hour and a label <br>
every 3 hours.<br>
<br>
For the plot of the week, a line at midnight, and a day label between <br>
the lines.<br>
<br>
For the plot of the month, I do not know what might work.<br>
<br>
For the plot of the year, a line between the month and the month between <br>
the lines.<br>
<br>
I want all the data (or a good portion of it) between the axis markers.<br>
<br>
How do I do this, or find examples or documentation on how to work with <br>
time and dates for the x-axis?<br>
<br>
I found <br>
<a href="https://blog.mafr.de/2012/03/11/time-series-data-with-matplotlib/" rel="noreferrer" target="_blank">https://blog.mafr.de/2012/03/11/time-series-data-with-matplotlib/</a> which <br>
helped me a lot. I did not know about strpdate2num.  But I think I need <br>
a date&time equivalent. Is there such a thing? Where would I find it? Or <br>
do I have to make it?<br>
<br>
I had a friend suggest going with MRTG because it produces the graphs <br>
clost to what I want. That looked harder.<br>
<br>
People log data by time and date and graph it all the time. Something <br>
like this has got to have been done before.<br>
<br>
Kip<br>
<br>
<br>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">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>