Hello, As shown in this screenshot http://img195.imageshack.us/img195/9186/timeseries.png I am trying to plot a timeseries using mpl. There is a minute detail that bothers me. I couldn't figure out how to hide the timezone information on my xlabel (here is CST)
After loading the data, I use mpl's num2data funtion to create datetime objects from second-from-number elements. I get a nice looking figure with autofmt_xdate() but I do not know what should I do to hide the extra unneeded information. In [2]: time_adj = array([num2date(1 + int(Time[i])/86400.0) for i in range(len(Time))]) In [3]: len time_adj ------> len(time_adj) Out[3]: 3763 In [4]: time_adj[0] Out[4]: datetime.datetime(1, 1, 1, 13, 13, 46, tzinfo=<UTC>) In [5]: fig = figure() In [6]: ax1 = fig.add_subplot(111) In [7]: ax1.plot(time_adj, dccnConc) Out[7]: [<matplotlib.lines.Line2D object at 0xaed078c>] In [8]: fig.autofmt_xdate() Thanks, Gökhan
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users