Plotting sparce time with matplotlib?

Look at this example . It skips weekend gaps in a series of daily data and is very easy to adapt to your case.

Up vote 1 down vote favorite share g+ share fb share tw.

I want to plot a trading timeseries, e.g. Close of 5 min bars. The markets are closed over night. So I have two queries: How to plot time in MatPlotLib (as well as date).

E.g. So I need to implement a new axis or new hourLocators etc. How to remove overnight gaps from my plot. I.e.

I want the last bar on Monday evening to be visually contiguous with the first bar of Tuesday morning. (Multiple plots won't work here as I need to display several days and pan the view. ) Many thx David python matplotlib link|improve this question asked Nov 11 '10 at 8:05DangerMouse1417 55% accept rate.

Look at this example. It skips weekend gaps in a series of daily data and is very easy to adapt to your case.

Excellent. Thank you very much. – DangerMouse Nov 11 '10 at 10:20.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions