I am trying to plot things in matplotlib but plot function creates a graph with sudden changes despite the fact that in excel it looks smoother. i don't know the attribute so I will just call it 'squary'. The differences are show in the picture (top - matplotlib, bottom - excel).
figure = pyplot.figure();
for channel in channels:
pyplot.plot(time[:len(channel)], channel);
pyplot.show();
The original data is not 'squary'. It is high-density data collected every 10 minutes for 67 days. The excel plot was not done with smoothing option. It was done with straight lines between successive data points confirming that the data is not 'squary' at all. I assume the problem is some parameter in the pyplot function that I don't know off.
I have realized that the problem was rounding to 2 decimals in Excel. Although the plot looks smooth in Excel when copying the data from the table, numbers were trimmed. Basically just set the rounding to more decimals and then the curve will look smooth in matplotlib as well.