Dear Paul, you are right. This is a matplotlib question rather than Python.
Dear Satinath, my solution is below Dear Satinath, The solution is given below. <https://lh3.googleusercontent.com/-w4r0lnKh9ps/WWR6Lvoo0EI/AAAAAAAAg0M/CjuUSzL-YCc7qSjD6-6skKgknLAMSSf0ACLcBGAs/s1600/207-0711-matplotlib_date.PNG> import matplotlib.dates as md x = time_list y = coordinates_list plt.gca().xaxis.set_major_formatter(md.DateFormatter('%H:%M:%S')) # %m/%d/%Y plt.plot(x,y) I hope this works for you. ++Ahmet ------------------------------------------------------------------------------------ Ahmet Anil Dindar (Ph.D.) Assistant Professor at Gebze Technical University (GTU) & Department of Civil Engineering (GTU-CE) Mobile: +90-532-548 63 93 || Office: +90-262-605 33 10 || Fax : +90-262-653 84 90 e-mail : [email protected] || web: https://github.com/ahmetanildindar || skype/gtalk : ahmetanildindar Lat: 40.812662 N Lon: 29.360680 E || https://goo.gl/maps/4Y811nqafy32 ------------------------ ------------------------------------------------------------ "Growing old is inevitable; growing up is optional." On Tuesday, July 11, 2017 at 7:52:14 AM UTC+3, Paul Hobson wrote: > > This less of a Jupyter questions and more of a matplotlib question. In > either case, it'll be very difficult to give you concrete advice without > seeing your data and and minimal working example of what you've tried. > > In the meantime, checkout matplotlib's examples and gallery pages: > http://matplotlib.org/examples/api/date_index_formatter.html > -p > > On Mon, Jul 10, 2017 at 7:54 PM, satinath debnath <[email protected] > <javascript:>> wrote: > >> Hi Ahmet, >> This is my first day in this group and not familiar with norms of this >> site. Anyway your graph is exactly matching with my plot. I am also trying >> to plot gnss receiver time with other parameter. But do not know how to >> plot UTC time on x-axis like you did. I am using python. Any help is highly >> appreciated. >> >> Regards >> Satinath >> >> On Sunday, May 15, 2016 at 2:09:13 PM UTC+5:30, Ahmet Anil Dindar wrote: >>> >>> Dear all, >>> I'm in an effort of transferring almost all of my calculations from >>> Matlab to Jupyter as I admired your work. As a result of this effort, I'm >>> having some issues to solve. The most recent one is to display the data on >>> a graph where the x axis is in time format. Matlab introduced "datetime" >>> variable type two year ago and it was perfect for me in my GPS data plots >>> as shown below. The data for the horizontal axis is acquired from GPS >>> observation data. >>> >>> >>> <https://lh3.googleusercontent.com/-H64g3jZpxe0/Vzg0-SOfybI/AAAAAAAAfEc/CtHz7qJPbZAVPtYAsxneWddwKUpvcphlQCLcB/s1600/2016_0515-jupyter%2Bvs%2Bmatlab.png> >>> >>> Matlab Plot with UTC axix >>> >>> I wonder whether anyone has a clue how to place datetime data in Jupyter >>> plots? >>> >>> Greetings from sunny Istanbul. >>> >>> ++Ahmet >>> >>> ---------------------------------------------------------------------------------------------------------- >>> --------------------------------------------------- >>> Ahmet Anil Dindar (Ph.D.) >>> Assistant Professor at Istanbul Kultur University (IKU) & Department >>> of Civil Engineering (IKU-CE) >>> Mobile: +90-532-548 63 93 || Office: +90-212-498 42 59 || Fax : +90-212-465 >>> 83 08 >>> e-mail : [email protected] || web: *http://www.iku.today/adindar/ >>> <http://www.iku.today/adindar/>* || skype/gtalk : ahmetanildindar >>> Lat: 40.99138 N, Lon:28.83194 E (WGS84) >>> >>> ---------------------------------------------------------------------------------------------------------- >>> --------------------------------------------------- >>> "Growing old is inevitable; growing up is optional." >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Project Jupyter" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jupyter/359f95bb-4440-4134-9ff6-1f851043f1bc%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jupyter/359f95bb-4440-4134-9ff6-1f851043f1bc%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/dad7e10b-7e37-4964-96e6-42e14e038b14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
