I have my data in an array of the following structure,
[[1293606162197, 0, 0],
[1293605477994, 63, 0],
[1293605478057, 0, 0],
[1293605478072, 2735, 1249],
[1293606162213, 0, 0],
[1293606162229, 0, 0]]
The first column is epoch time (in ms
), second is y1
and third is y2
. I need a plot with the time on the x-axis, and y1
and y2
on left and right y-axes.
I have been scouring through the documentation but couldn't find any way to get my x-axis ticks to display both date and time, like "28/12 16:48", i.e., "date/month hour:min". All the documentation helps me with is to display dates alone, but that is not what I want. Any help would be appreciated on this.
And, if it may seem like, this is not homework. It is actually a follow up to my previous question, Reading and graphing data read from huge files.