0

I have a question regarding the use of time data and converting to datetime and plotting. I have data every 10 seconds for a full hour in seconds since epoch time. I can do the conversion using datetime.datetime.utcfromtimestamp(timestamp). How do I plot the full data but the xtick labels only shows every minute up to the hour.

As an example, pick a year, mon, day, hour, and seconds but each element is 10 seconds apart or time step of 10 seconds.

Edit: Essentially there are 360 data points to plot.

Charanjit Pabla
  • 373
  • 2
  • 5
  • 16

0 Answers0