<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sure (and thanks for helping me with this).  The data is read from a csv file, the pieces I’m looking at are extracted and I generate four sub-plots, the first of which axs[0,0] is NOT a time series, but the next three are.  The code below includes my imports and the code to generate the second and third sub-plot.  The second, third, and last sub-plots all have the same time axis, but the labels are only drawn on the bottom two (1,0 and 1,1).  I assume if I explicitly made space under the 0,0 and 0,1 plots, they would grow labels too.<div class="">Thanks,</div><div class="">Bill</div><div class=""><br class=""><div class="">…………………cut on dotted line…………<br class=""><div class=""><div class=""><br class=""></div><div class="">#! /usr/bin/env python</div><div class="">import pandas as pd, matplotlib.pyplot as plt, numpy as np</div><div class="">import matplotlib.dates </div></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>.</div><div class=""><br class=""></div><div class=""><div class="">#</div><div class=""># Next plot</div><div class="">#</div><div class="">ax = axs[0,1]</div><div class="">x_format = mpdates.DateFormatter('%H:%M:%S')</div><div class="">ax.xaxis.set_major_formatter(x_format)</div><div class="">fig.autofmt_xdate()</div><div class="">ax.plot(wdx,wdyH2Oc_, 'b')</div><div class="">ax.axis([dndx[0],dndx[vec_len-1], 12000, 15500])</div><div class="">ax.set_title('H2Oc_ppm')</div><div class="">#</div></div><div class=""># Next plot</div><div class="">#</div><div class=""><div class="">ax = axs[1,0]</div><div class="">ax.plot(wdx,wdyO18_d)</div><div class="">ax.set_title('O18_del')</div><div class="">ax.axis([dndx[0], dndx[vec_len-1],-55,-25])</div></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 7, 2016, at 11:47 PM, Thomas Caswell <<a href="mailto:tcaswell@gmail.com" class="">tcaswell@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">The defaults will be improved in 2.0 (see <a href="http://matplotlib.org/devdocs/users/dflt_style_changes.html#autodateformatter-format-strings" class="">http://matplotlib.org/devdocs/users/dflt_style_changes.html#autodateformatter-format-strings</a> )<div class=""><br class=""></div><div class="">Can you provide a more complete example of what you are doing that is not working?</div><div class=""><br class=""></div><div class="">Tom</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Nov 7, 2016 at 11:31 PM William Ray Wing <<a href="mailto:wrw@mac.com" class="">wrw@mac.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I need to plot some time series data in which the time axis is specified by numpy/pandas 64-bit date-time values.  I’m only interested in hours, minutes, and seconds, and the seconds value is only accurate to hundredths.  I’m formatting the time axis as:<br class="gmail_msg">
<br class="gmail_msg">
x_format = mathplotlib.dates.DateFormatter('%H:%M:%S’)<br class="gmail_msg">
<br class="gmail_msg">
which gives me hours, minutes, and seconds, BUT gives me six digits of bogus precision after the seconds decimal point.  Is there any way to truncate those six digits to three.  I’ve tried several Google searches, but have been unsuccessful in coming up with anything.<br class="gmail_msg">
<br class="gmail_msg">
Thanks,<br class="gmail_msg">
Bill<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Matplotlib-users mailing list<br class="gmail_msg">
<a href="mailto:Matplotlib-users@python.org" class="gmail_msg" target="_blank">Matplotlib-users@python.org</a><br class="gmail_msg">
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br class="gmail_msg">
</blockquote></div>
</div></blockquote></div><br class=""></div></div></div></body></html>